[Fontconfig] patch: fall back to POSIX if the effective value of LC_CTYPE is the empty string ""

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Lam <plam@xxxxxxx> ????????:

> I've applied this patch.

Thank you!

I made another small patch a while ago which I may have forgotten to
submit or which may have been lost. Anyway, it is apparently
not yet applied to the fontconfig 2.4 branch.


If the effective value of LC_CTYPE is the empty string "", fontconfig
should work the same way as in the POSIX locale, i.e.  as if
the element "lang" is not set. It should not try to parse a
"lang" element from the empty string. 

This makes sure that even if LC_CTYPE is the empty string, fontconfig
matches something readable. Without that it apparently matches
completely random and might match a font which doesn't even have ASCII
glyphs. As a result, nothing at all may be displayed.

For details where this caused a problem for a user, see:

http://bugzilla.novell.com/show_bug.cgi?id=102328

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugzilla-102328.patch
Type: text/x-patch
Size: 476 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051019/a9058a80/bugzilla-102328.bin
-------------- next part --------------

-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
?????????????

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux