Several questions about fonts

Jeremy C. Reed reed at reedmedia.net
Thu May 18 10:44:55 MST 2006


On Thu, 18 May 2006, joe wrote:

> QUESTION #3: Where can I find all the font files on my system? 

They could be anywhere :) Use find and locate :)

Also look at fontconfig.

fc-list will show the fonts (but not locations).

Do you have any ~/.fonts directory or ~/.fonts.cache-1 ?

On my system I have /usr/pkg/etc/fontconfig/fonts.conf.

It could also be at /etc/fonts/ or /etc/fontconfig/ or elsewhere.

In my case, it is configured with my font directories:

        <dir>/usr/pkg/lib/X11/fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/TTF</dir> 
<dir>/usr/X11R6/lib/X11/fonts/TrueType</dir>
 <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> 
<dir>/usr/X11R6/lib/X11/fonts/freefont</dir>
        <dir>~/.fonts</dir


Many programs use fontconfig.

> QUESTION #4: Why does this command: xset -q <E> fail to show a list 
> of font path locations?  This is all it shows: 
> 
> 	Font Path:
> 	  unix/:-1 

Check your X configuration. What does it have for FontPath(s)? Also look 
at your X logs to see the font paths that were used.

> QUESTION #5: Why does this command: /usr/sbin/chkfontpath <E> list all 
> these "Current directories in font path:" shown below, but I cannot 
> find some of the fonts that appear in the OpenOffice font list in any 
> of those locations? 

I think OpenOffice tries to do it its own way.

Fonts are now fun because there are several different ways to manage them: 
old X11, openoffice, fontconfig, groff, latex, et cetera have their own 
ways to handle fonts. Slowly many programs are trying to standardize on 
this (using fotnconfig).

Some google searches should give lots of details about openoffice fonts.

 Jeremy C. Reed

echo ':6DB6E88>?;@69876tAEAC8BB5tA6487><' | tr '4-E' 'wu rofIn.lkigemcal'


More information about the PLUG-discuss mailing list