In my ''/etc/fonts/fonts.conf'' file, it says:
DO NOT EDIT THIS FILE.
IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
LOCAL CHANGES BELONG IN ''local.conf''
Then, what''s happening with directories indicated in <dir> tags?
(in
that file)
If I add some directories in ''/etc/fonts/local.font'' but there
are <dir>
tags in ''/etc/fonts/fonts.conf'', where are being found the
fonts?
Jonas Melian wrote:> In my ''/etc/fonts/fonts.conf'' file, it says: > > DO NOT EDIT THIS FILE. > IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. > LOCAL CHANGES BELONG IN ''local.conf'' > > Then, what''s happening with directories indicated in <dir> tags? (in > that file) > > If I add some directories in ''/etc/fonts/local.font'' but there are <dir> > tags in ''/etc/fonts/fonts.conf'', where are being found the fonts?Hi Jonas, I''m a bit confused as to what you''re trying to accomplish. If you''re trying to not add the directories in /etc/fonts/fonts.conf but only the ones in local.conf, you should put a <rejectfont> with the directories that get added by fonts.conf. pat
In fonts.conf, I have:
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/share/fonts</dir>
<dir>/usr/local/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
<dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
<dir>~/.fonts</dir>
But I only want truetype and type 1 fonts, so I will have to add them in
local.conf (because fonts.conf will be replaced when it is updated)
Patrick Lam wrote:
>Jonas Melian wrote:
>
>
>>In my ''/etc/fonts/fonts.conf'' file, it says:
>>
>> DO NOT EDIT THIS FILE.
>> IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
>> LOCAL CHANGES BELONG IN ''local.conf''
>>
>>Then, what''s happening with directories indicated in
<dir> tags? (in
>>that file)
>>
>>If I add some directories in ''/etc/fonts/local.font''
but there are <dir>
>>tags in ''/etc/fonts/fonts.conf'', where are being found
the fonts?
>>
>>
>
>Hi Jonas,
>
>I''m a bit confused as to what you''re trying to accomplish.
If you''re
>trying to not add the directories in /etc/fonts/fonts.conf but only the
>ones in local.conf, you should put a <rejectfont> with the directories
>that get added by fonts.conf.
>
>pat
>
>
>
>
Any chance we can get the X11R6 lines out of default fontconfig config file? At least Fedora Core removes them, and they have been a huge performance hit for me in the past, and they only bring in bitmap fonts that I really don''t want to be found by fontconfig. Maybe put them in an extra config file in the confs directory? behdad On Sun, 27 Nov 2005, Jonas Melian wrote:> In fonts.conf, I have: > > <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> > > <dir>/usr/share/fonts</dir> > <dir>/usr/local/share/fonts</dir> > <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir> > <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir> > <dir>~/.fonts</dir> > > But I only want truetype and type 1 fonts, so I will have to add them in > local.conf (because fonts.conf will be replaced when it is updated) > > Patrick Lam wrote: > > >Jonas Melian wrote: > > > > > >>In my ''/etc/fonts/fonts.conf'' file, it says: > >> > >> DO NOT EDIT THIS FILE. > >> IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. > >> LOCAL CHANGES BELONG IN ''local.conf'' > >> > >>Then, what''s happening with directories indicated in <dir> tags? (in > >>that file) > >> > >>If I add some directories in ''/etc/fonts/local.font'' but there are <dir> > >>tags in ''/etc/fonts/fonts.conf'', where are being found the fonts? > >> > >> > > > >Hi Jonas, > > > >I''m a bit confused as to what you''re trying to accomplish. If you''re > >trying to not add the directories in /etc/fonts/fonts.conf but only the > >ones in local.conf, you should put a <rejectfont> with the directories > >that get added by fonts.conf. > > > >pat > > > > > > > > > > _______________________________________________ > Fontconfig mailing list > Fontconfig@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/fontconfig > >--behdad http://behdad.org/ "Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill" -- Dan Bern, "New American Language"
Behdad Esfahbod wrote:> Any chance we can get the X11R6 lines out of default fontconfig > config file? At least Fedora Core removes them, and they have > been a huge performance hit for me in the past, and they only > bring in bitmap fonts that I really don''t want to be found by > fontconfig. Maybe put them in an extra config file in the confs > directory?I don''t see any problem with removing the X11R6 lines, they do seem pretty useless to me, but I''d like to defer to Keith on this one. pat