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

Re: temp reducing number of fonts, xfs in way?



At 01:54 PM 3/13/2003 +0000, dave selby wrote:
Im having a great time with fonts at present !! My aim is to reduce the
number of default font directories so when using gimp I am not swamped with
fonts.

Can someone clarify a point with me ...

when X boots it reads the font path from /etc/X11/XF86-config, in my case


Section "Files"
        FontPath        "unix/:7101"                    # true type server
        FontPath        "unix/:7100"                    # local font server

I always comment out those lines (though my setup only has the 7100 entry.

        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"

I re-order those along with removing the Type1, Speedo, and cyrillic entries. I add my truetype dir and put it first in the list, followed my 75dpi, then 100dpi, and finally misc. I no longer have entries for the :unscaled fonts (could be my version of X and the current debconf settings.

# paths to search for fonts
catalogue =
/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/:unscaled,
/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1/,
/usr/lib/X11/fonts/CID,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/freefonts/

so am I right in thinking that server unix:/7100 will find the fonts anyway
regardless of what I do with xset -fp ? This seems to be what is happening.

Yes, it will. If it doesn't find any, it falls back to the directories listed above.

So is there any tempory way of removing font directories short of removing
them in XF86config-4 AND /usr/X11R6/lib/X11/fs/config for xfs ?

For a long time, that's what I seemingly HAD to do to get it to work the way *I* wanted it to. That method still works for me though it may no longer be necessary.

Regards
Hall



Reply to: