cant get true type fonts to work
Running Fedora Core 3
I have created a directory /usr/local/fonts/ttf/ and copied all of the microsoft true type fonts from my Windows partition into this directory I ran the following in this directory #ttmkfdir > fonts.scale #mkfontdir and the "fonts.scale" and "fonts.dir" files were created correctly. I then ran chkfontpath to add this directory to the search path and here is the output # chkfontpath Current directories in font path: 1: /usr/X11R6/lib/X11/fonts/misc:unscaled 2: /usr/X11R6/lib/X11/fonts/75dpi:unscaled 3: /usr/X11R6/lib/X11/fonts/100dpi:unscaled 4: /usr/X11R6/lib/X11/fonts/Type1 5: /usr/X11R6/lib/X11/fonts/Speedo 6: /usr/share/fonts/default/Type1 7: 8: /usr/local/fonts/ttf If I run xfontsel I can see the fonts in there but they are not visible in OpenOffice. Also if I try Applications/Preferences/Font from the Gnome desktop, they are not visible there either If I run xlsfonts I can see them in the output listing. I tried upgrading my freetype package to include one with BCI support. Still no dice. Anyone got any ideas. I am stumped. |
you might have forgotten to issue this command.........
Code:
fc-cache http://www.homepages.lu/pu/beautiful.html |
You can use:
Code:
spadmin |
Thanks for the replies
I ran "fc-cache" but they are still not visible on the desktop. I could not find the "spadmin" command or any reference to it. |
$ locate spadmin
/opt/openoffice.org2.0/program/spadmin /opt/openoffice.org2.0/program/spadmin.bin |
ok thanks. I found spadmin at the following location
/usr/lib/ooo-1.1/program/spadmin.bin It just brings up a window to configure printers. I am still in the same position i.e. the fonts are visible in the output from "xlsfonts" command and I can see them with the "xfontsel" command but they are not showing up on the desktop or any of my applications, including OpenOffice. |
Go to the directory you installed the fonts and remove the font.dir and font.scale file then do,
Code:
#mkfontdir && mkfontscale |
Thanks for the reply. However it is still not working; this is driving me nuts.
In desperation, I have relocated my microsoft true type fonts to a different location i.e. in the same place as the others... /usr/X11R6/lib/X11/fonts/TTF/ I have modified the chkfontpath to point to this new directory and here is the output of that command. # chkfontpath Current directories in font path: 1: /usr/X11R6/lib/X11/fonts/misc:unscaled 2: /usr/X11R6/lib/X11/fonts/75dpi:unscaled 3: /usr/X11R6/lib/X11/fonts/100dpi:unscaled 4: /usr/X11R6/lib/X11/fonts/Type1 5: /usr/X11R6/lib/X11/fonts/Speedo 6: /usr/X11R6/lib/X11/fonts/TTF 7: /usr/share/fonts/default/Type1 8: I ran the mkfontdir and mkfontscale commands as suggested; still no dice. It seems that the order in which these commands are executed is important, since mkfontdir uses the content of the fonts.scale file (if it exists) and this file is generated by the mkfontscale command. If I run mkfontdir first it produces a file that just contains 0. |
I always run "mkfontdir" first and then "mkfontscale" last and it works everytime.
|
yes I originally tried running the commands in the order you specify but it did not work. They are still visible in the output of xlsfonts but are not showing up on my desktop
|
Quote:
|
finally got the fonts installed as an rpm from the following location
http://www.mjmwired.net/resources/mj...a-fc3.html#ttf Even though this works nicley, I am still frustrated that I could not get then installed manually. Thanks to everyone for trying to help. |
All times are GMT -5. The time now is 09:36 AM. |