Bug 21

Summary: fix for setfondirs which makes invalid xml on l18n systems.
Product: fontconfig Reporter: sylvain pasche <sylvain_pasche>
Component: libraryAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: 2.1   
Hardware: x86 (IA32)   
OS: other   
i915 platform: i915 features:

Description sylvain pasche 2003-02-05 18:01:31 UTC
On my system, date returns "fév" for february.
The accent makes libxml shout "invalid xml" and fontconfig does not initialize.
The fix is simple:

 # $XFree86: xc/lib/fontconfig/setfontdirs,v 1.4 2002/08/01 16:17:33 keithp Exp $
-export LANG
+export LC_ALL
 trap "rm $FONTDIRS" 0
 sh ./findfonts ${1+"$@"} > $FONTDIRS
Comment 1 Keith Packard 2003-02-05 18:27:47 UTC
Current CVS already has this fix.
Comment 2 sylvain pasche 2003-02-05 18:43:56 UTC
Ah, sorry me, I should have checked that. I did not thought latest garnome
fontconfig was not so fresh ;-)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.