[Last Call] Learn how to a build a cloud-first strategyRegister Now


how to set fonts for websites

Posted on 2005-04-19
Medium Priority
Last Modified: 2013-12-06

I have Fedora Core 2 Linux box with Firefox just now installed. I note that the websites are not shown with their default stylesheet settings. For example, EE is configured with Verdana font, but I see it in different font (just an example, all other sites are like this only).

How do I make the default style settings for webpages?

Question by:sangeetha
1 Comment

Accepted Solution

Roach earned 1500 total points
ID: 13819436
Some distributions come with a TrueType font server but no (or a limited choice of) TrueType fonts. You can install your own TrueType fonts.

As root, make a directory that is to hold your TrueType fonts:

cd /usr/X11R6/lib/X11/fonts
mkdir TrueType

This directory is referred to in the configuration file /etc/X11/XF86Config

FontPath "/usr/X11R6/lib/X11/fonts/TrueType"

As root, copy your *.ttf files from the the source (out of MS Windowze) to the TrueType font directory that you just created.

As root, run the following commands:

cd /usr/X11R6/lib/X11/fonts/TrueType
ttmkfdir > fonts.dir
cp fonts.dir fonts.scale

restart xserver

under K-menu, select "System"-"Font Manager" to see if the fonts installed correctly

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month18 days, 5 hours left to enroll

830 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