[Fontconfig-bugs] [Bug 104023] New: fontconfig warning if no locales installed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 1 21:32:59 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=104023

            Bug ID: 104023
           Summary: fontconfig warning if no locales installed
           Product: fontconfig
           Version: 2.11
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: library
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: philip.race at oracle.com
        QA Contact: freedesktop at behdad.org

Here I am on a fully working Ubuntu 16.04 LTS and ordinarily I get no warning
$ env|grep LANG
LANG=en_US.UTF-8
$ fc-match sans
DejaVuSans.ttf: "DejaVu Sans" "Book"

But if I mimic having no locales :

$ export LANG=UTF-8
$ fc-match sans
Fontconfig warning: ignoring UTF-8: not a valid region tag
DejaVuSans.ttf: "DejaVu Sans" "Book"

So in other words if you don't install any locales on the system, fontconfig
will issue this error.

This came up in a minimal new install used for some testing.
Perhaps a setting of UTF-8 should be silently ignored but
a conclusion that fontconfig should always warn in this situation is
fine by me, but I'd at least like to document it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20171201/ac8a34ac/attachment.html>


More information about the Fontconfig-bugs mailing list