Note: I don’t know how useful the following is. chkfontpath appears to be a RedHat-ism, and is possibly obsolete as well. —AristotlePagaltzis
When loading, OpenOffice.org looks for TrueType or Type1 fonts in the following places:
This method to install fonts hooks into the output of chkfontpath. We’ll assume you have copied a font family called Foob Ar into /usr/share/fonts/foobar/. The following commands have to be issued as root.
mkfontdir /usr/share/fonts/foobar chkfontpath -a /usr/share/fonts/foobar/
This creates a fonts.dir file in your font family directory, then adds the directory to chkfontpath’s list. Now retstart OpenOffice.org and your pretty new fonts should be available. You may like to change the default font under Tools → Options → Text Document → Basic Fonts.
See also the [OpenOffice.org Font FAQ | http://www.openoffice.org/FAQs/fontguide.html.
To include the TrueType fonts from your MicrosoftWindows installation you need to create a font directory with SymLinks to all the fonts on your Windows partition. Assuming the fonts are in C:\windows\fonts and the C: partition of Windows is mounted on /mnt/win_c in Linux, you have to do the following (as root):
mkdir /usr/share/fonts/winfonts cd /mnt/win_c/windows/fonts ln -s *.ttf *.TTF /usr/share/fonts/winfonts cd /usr/share/fonts/winfonts ttmkfdir mkfontdir chkfontpath -a /usr/share/fonts/winfonts fc-cache
No other page links to OpenOfficeFonts yet.