Installing new fonts

Posted on 2003-03-13
Medium Priority
Last Modified: 2013-12-06
How can I install new font in Red Hat Linux 8.0
Font like Tahoma.ttf

Question by:Motaz
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Accepted Solution

kreg earned 500 total points
ID: 8129581
Actually all you have to do in Redhat 8 is make a folder called .fonts in your home directory and put the font or fonts there, that is it.

Now if you want the fonts available for everyone on the system Here is what is in the release notes:

Red Hat Linux now uses Xft for fonts in GNOME and KDE, which uses fontconfig for configuring fonts. The old style Xft config file /etc/X11/XftConfig is no longer used or supported, having been replaced by the new unified fontconfig method of configuration. The fontconfig config file can be customized by editing /etc/fonts/fonts.conf file.

If you have fonts that you would like to add to your configuration, you can copy them to ~/.fonts (or /usr/share/fonts), and run fc-cache directory. The fonts will then be available.

Author Comment

ID: 8135678
Thanks kreg for your reply, I copy it to my home directory and dit works for some applications, and another applications cann't see that font.

I tried your another solution, but I don't know here to copy  that file in /user/share/fonts and I cann't rn fc-cache-1 text file, it is not a script file.
Please tell me how can I run fc-cache-1 text file

Author Comment

ID: 8135772
I enable to run it in root user fc-cache in the directory /home/azzoz/.fonts
but still cann't get this font in all applications such as Kylix, and Open Office.

I get this font only in KText editor


Expert Comment

ID: 8135904
Open Office is different... You need to run the Printer Set and there is a fonts installer there... basically you are just telling Openoffice where your fonts are.

Kylix I am not sure.

There are two font subsystems on Redhat... there is fontconfig which is what you used earlier with the fc-cache and there is the X core font subsystem, and therein lies your problem. Some apps aren't aware of the fontconfig system which is becoming the default.

For the X core font subsystem this is what I have done in the past with Older versions of Redhat:


Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question