Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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
I found spadmin at the following location
/usr/lib/ooo-1.1/program/spadmin.bin
It just brings up a window to configure printers.
There should be a spadmin command which brings up a window to configure printers, but it also has a button to add fonts in OO. For some reason Fedora does not include it in it's OO rpm. Take a look here to see what you can do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.