how to set fonts for websites

Posted on 2005-04-19
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
    LVL 1

    Accepted Solution

    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

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    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.

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now