[Xquartz-dev] 2.3.1_rc* and usr/X11/lib/X11/fonts/fonts.conf ???

Merle Reinhart merlereinhart at mac.com
Mon Sep 8 04:02:47 PDT 2008


[LeoMacPro:~] merle% which fc-list
/usr/X11/bin/fc-list
[LeoMacPro:~] merle% fc-list
Fontconfig error: Cannot load config file "/usr/X11/lib/X11/fonts/ 
fonts.conf"
Fontconfig error: Cannot load default config file
Luxi Serif:style=Regular
LucidaBright:style=Italic
Utopia:style=Bold Italic
Bitstream Vera Sans Mono:style=Bold
Serto Malankara:style=Regular
Luxi Serif:style=Bold
Serto Mardin:style=Regular
LucidaTypewriter:style=Sans Bold
Fixed:style=Bold
Bitstream Vera Sans:style=Oblique
Estrangelo Edessa:style=Regular
Serto Kharput:style=Regular
Times:style=Bold Italic
Clean:style=Regular
Luxi Mono:style=Bold
Utopia:style=Bold
Estrangelo Nisibin:style=Regular
ClearlyU PUA:style=Regular
Bitstream Vera Sans:style=Roman
Charter:style=Bold Italic
Luxi Sans:style=Bold
Serto Batnan:style=Bold
Estrangelo Midyat:style=Regular
Estrangelo Talada:style=Regular
Luxi Sans:style=Regular
Courier:style=Regular
Charter:style=Bold
Helvetica:style=Oblique
LucidaBright:style=Regular
Terminal:style=Bold
Estrangelo Quenneshrin:style=Regular
Serto Jerusalem:style=Regular
East Syriac Ctesiphon:style=Regular
Fixed:style=Bold SemiCondensed
Serto Jerusalem Outline:style=Regular
Fixed:style=SemiCondensed
Bitstream Charter:style=Normal
Bitstream Vera Sans Mono:style=Oblique
Times:style=Bold
Courier 10 Pitch:style=Normal
Charter:style=Italic
Luxi Mono:style=Regular
Estrangelo Antioch:style=Regular
Courier:style=Oblique
Newspaper:style=Regular
Serto Urhoy:style=Bold
Times:style=Italic
ClearlyU:style=Regular
Lucida:style=Sans Bold
Bitstream Vera Sans:style=Bold
Fixed:style=Oblique SemiCondensed
Fixed:style=Oblique
LucidaTypewriter:style=Sans
New Century Schoolbook:style=Bold
ClearlyU Alternate Glyphs:style=Regular
Utopia:style=Italic
Courier:style=Bold Oblique
Lucida:style=Sans Italic
Bitstream Vera Serif:style=Roman
Cursor:style=Medium
Lucida:style=Sans
Bitstream Vera Sans Mono:style=Bold Oblique
Serto Urhoy:style=Regular
Luxi Serif:style=Oblique
Bitstream Vera Sans:style=Bold Oblique
Luxi Serif:style=Bold Oblique
Serto Batnan:style=Regular
Helvetica:style=Bold
Times:style=Regular
New Century Schoolbook:style=Bold Italic
Bitstream Vera Sans Mono:style=Roman
Luxi Mono:style=Oblique
Lucida:style=Sans Bold Italic
Helvetica:style=Regular
Luxi Sans:style=Oblique
Serto Mardin:style=Bold
Estrangelo TurAbdin:style=Regular
Charter:style=Regular
Courier 10 Pitch:style=Bold
Serto Jerusalem:style=Italic
Terminal:style=Regular
Serto Jerusalem:style=Bold
Fixed:style=ko
Fixed:style=ja
Fixed:style=Regular
Helvetica:style=Bold Oblique
New Century Schoolbook:style=Italic
Luxi Sans:style=Bold Oblique
Bitstream Vera Serif:style=Bold
Luxi Mono:style=Bold Oblique
Courier:style=Bold
Utopia:style=Regular
Goha\-Tibeb Zemen:style=Regular
Estrangelo Nisibin Outline:style=Regular
East Syriac Adiabene:style=Regular
Bitstream Charter:style=Bold
New Century Schoolbook:style=Regular
[LeoMacPro:~] merle%





I'm only seeing the default fonts.  None of the custom, non-X11 fonts  
(I've converted the /Library/Fonts *.dfont's into *.ttf's so that I  
can use fonts like Apple Chancery, Zapfino, etc in X11 programs, plus  
I have some Adobe .otf fonts in /Library/Fonts that also don't show up  
[Garamond Premier Pro for example]).

If I copy the /usr/X11/lib/X11/fontconfig/fonts.conf to /usr/X11/lib/ 
X11/fonts/fonts.conf, then all these show up in fc-list and are  
available to gimp, etc.

I do not have a custom ~/.fonts.conf.  However, making one that's a  
copy of the one in fontconfig doesn't work.


Merle






On Sep 8, 2008, at 3:44 AM, Jeremy Huddleston wrote:

> Hmm... what happens if you run 'fc-list' (with the fonts.conf not  
> copied over).  Do you see your custom fonts?
>
> Do you have a custom ~/.fonts.conf?
>
> On Sep 7, 2008, at 19:15, Merle Reinhart wrote:
>
>> I get the same errors with *just* the delta update and with *just*  
>> the
>> combo update.
>>
>> I'm using gimp 2.4.5 built via fink.  Looking at the resulting binary
>> (yes, I did
>> rebuild it to see if the problem resolved itself) shows that it is
>> using the
>> X11 provided fontconfig:
>>
>> otool -L /sw/bin/gimp-2.4 | grep font
>> 	/usr/X11/lib/libfontconfig.1.dylib (compatibility version 5.0.0,
>> current version 5.0.0)
>>
>>
>> If I copy the fonts.conf in fontconfig over to fonts, then gimp
>> doesn't throw the error
>> and it sees all the non-X11 fonts.  Rebuilding the caches didn't make
>> any difference.
>>
>> Anyway, that's what I'm seeing.
>>
>> Merle
>>
>>
>>
>> On Sep 7, 2008, at 3:32 PM, Jeremy Huddleston wrote:
>>
>>> Does it work fine for you with *just* the combo update?  The file
>>> should be in /usr/X11/share/fontconfig/fonts.conf in both 10.5.5 and
>>> 2.3.1_rc6...
>>>
>>> The problem is that gimp and inkscape don't link against our
>>> libfontconfig... The version in their bundle must assume the  
>>> location
>>> of fonts.Fong to be at that old location... They should just use our
>>> libfontconfig rather than building their own
>>>
>>> On Sep 7, 2008, at 8:35, Merle Reinhart <merlereinhart at mac.com>  
>>> wrote:
>>>
>>>> Jeremy,
>>>>
>>>> I was just trying out a particular sequence of OS X updates (the  
>>>> new
>>>> seed combo update) and X11-2.3.1_rc6.
>>>>
>>>> All is working well, except that gimp and inkscape have been  
>>>> throwing
>>>> an error:
>>>>
>>>> Fontconfig error: Cannot load config file "/usr/X11/lib/X11/fonts/
>>>> fonts.conf"
>>>> Fontconfig error: Cannot load default config file
>>>> Fontconfig error: Cannot load config file "/usr/X11/lib/X11/fonts/
>>>> fonts.conf"
>>>> Fontconfig error: Cannot load default config file
>>>>
>>>> Looking at things, yes, it looks like in this situation of going  
>>>> from
>>>> the X11 included with 10.5.5 (combo update from 10.5.4) to
>>>> X11-2.3.1_rc6, that fonts.conf has gone missing.
>>>>
>>>> Other than the error, the impact appears to be any user installed
>>>> fonts are completely ignored and the apps only see the X11 system
>>>> fonts.
>>>>
>>>> If I copy the fonts.conf from a previous system (the file is dated
>>>> Dec
>>>> 5, 2007 so I'm not completely sure what version of X11 (Xquartz  
>>>> or OS
>>>> X update) it originally came from) then I don't get the errors  
>>>> and I
>>>> can see my non-System installed fonts again.
>>>>
>>>> Anyway, I don't know if fonts.conf should have been included and  
>>>> was
>>>> missed or not, but there is a potential for breakage in the near
>>>> future.
>>>>
>>>> Merle
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Xquartz-dev mailing list
>>>> Xquartz-dev at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>> _______________________________________________
>>> Xquartz-dev mailing list
>>> Xquartz-dev at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev



More information about the Xquartz-dev mailing list