How to add fonts to OOo 2.0 beta

by Gand — last modified 2007-06-26 03:10 PM
How to add .ttf (TrueType), .dfont and .ffil fonts to 2.0 beta

New build of 2.0 beta come with few fonts.


Adding Truetype fonts

Additional truetype fonts can be added in the folder /Applications/openoffice.org1.9.128/share/fonts/truetype/
You can add all your TrueType fonts symlinking ones in the /Library/Fonts/ folder.
Remember that you can add folder path in terminal just dragging the folder you are interested in.
Open terminal and type:

sudo ln -s /Library/Fonts/*.ttf /Applications/openoffice.org1.9.128/share/fonts/truetype/

Enter password at prompt and then launch OpenOffice.
Use *.ttf for all fonts or fontyouneed.ttf for only one font.

Adding .dfont

As .dfont are not used by OOo, we need to convert .dfont to Truetype an than add to OOo truetype folder.
This converson can be done using fondu, a set of programs to
interconvert between mac font formats and pfb, ttf, otf and bdf files on
Download and install the MacOS/X package. This package will add some binaries to /usr/local/bin/ folder.

Before using fondu you may need to add /usr/local/bin into your
PATH environment variable, and /usr/local/man into your MANPATH
environment variable with this commands in terminal:

echo 'export PATH=/usr/local/bin:$PATH' » ~/.bash_profile


echo 'expor MANPATH=/usr/local/man' » ~/.bash_profile

Now we can convert all OS/X fonts (.dfonts) to TrueType fonts (.ttf) and put them in a custom folder (my_ttf_fonts)Type in terminal:

mkdir my_ttf_fonts
cd my_ttf_fonts
fondu /Library/Fonts/*.dfont

Now *.dfont are in my_ttf_fonts folder as .ttf fonts. Use *.dfont for all fonts or fontyouneed.dfon for only one font.

As above create a symlink to OOo fonts folder, type in terminal (dragging folder to edit path):

sudo ln -s /completepathtomy_tff_font_foder/*.ttf /Applications/openoffice.org1.9.128/share/fonts/truetype/


Add .ffil fonts

Some fonts are in .ffil format (are ones without extension), you can convert .ffil to .dfont using donateware dfontifier and then convert .dfont to .ttf using fondu as above.
Just drag font icon on dfontifier window.


Now enjoy new fonts in

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License