[Bug 18726] New: RFE: help write locale-specific tests

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 27 09:30:44 UTC 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18726

           Summary: RFE: help write locale-specific tests
           Product: fontconfig
           Version: 2.6
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: library
        AssignedTo: keithp at keithp.com
        ReportedBy: nicolas.mailhot at laposte.net
                CC: fedora-fonts-bugs-list at redhat.com


Due to Han unification there is often a need for font distributors to test if a
font name is requested in a chinese, japanese or korean context. However, there
are many chinese locales and writing an exact match is not possible.

The current pattern (used by Debian, Ubuntu, Fedora, etc) in this case is

<test compare="contains" name="lang">
   <string>zh</string>
</test>

but we do not really want to match every locale containing "ze". We want to
match every ze-foo locale, not jze-foo or foo-ze

Please add a documented fonts.conf pattern to fontconfig that allows
distributors to specify such an exact match.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the fonts-bugs mailing list