Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2004, 05:15 PM   #1
NoS Sr50
Registered: Sep 2004
Distribution: Mandrake 10.0 Download
Posts: 66

Rep: Reputation: 15

I think im missing fonts, all web pages font looks cluttered and its bugging me, I dont think I have any of the fonts I had on windows like Arial, Verdana, georgia etc.
Old 09-05-2004, 05:41 PM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Install the corefonts package, that should take care of most. Copy the tahoma files from a Windows installation and you should be good to view pretty much all web pages.

You can install truetype fonts by simply copying them to your ~/.fonts directory - if you don't have it just create it. Run fc-cache -v to update the font cache and you should be ready to go.

Old 09-05-2004, 05:43 PM   #3
NoS Sr50
Registered: Sep 2004
Distribution: Mandrake 10.0 Download
Posts: 66

Original Poster
Rep: Reputation: 15

Now what do I download
Old 09-05-2004, 06:25 PM   #4
NoS Sr50
Registered: Sep 2004
Distribution: Mandrake 10.0 Download
Posts: 66

Original Poster
Rep: Reputation: 15

      Make sure you have the following rpm-packages installed from from your favourite distribution. Any version should do.
          * rpm-build
          * wget
          * A package that provides the ttmkfdir utility. For example
                o For redhat-7.3 and redhat-8.0, XFree86-font-utils
                o For redhat-7.0, freetype
                o For mandrake-8.2, freetype-tools

      Download and install the cabextract utilility from here. If you're not on an x86 box, please have a look at the source rpm instead. Users of other distributions should have a look here

      Download the latest msttcorefonts spec file from here

      Edit the msttcorefonts.spec file with your favourite editor. Everything that needs to be changed is commented clearly in the beginning of the file.

      The original specfile only contains references to fonts covered by the "core fonts for the web" license agreement which, among other things, permits redistribution in unaltered form. However, microsoft also makes other fonts available as a part of their Internet Explorer product (notably the Tahoma font). The license agreement of Internet Explorer states that you need to have a Windows license to have the right to install Explorer or (as I understand it) any part of it.

      So, if you have a windows license and you accept the other restrictions in the IE EULA, you are are free to change the define HAS_WINDOWS_LICENSE to 'yes', and the tahoma font will be included also

      Build the binary rpm with this command:

$ rpmbuild -bb msttcorefonts-1.3-4.spec

      This will download the fonts from the Sourcforge mirror of your choice (about 5 megs) and repackage them so that they can be easily installed.

      By default rpm builds packages in a directory that only root has write access to. However, by adding the following line to a file called .rpmmacros in your home directory you can build rpm packages in another location than the system wide default.

%_topdir YOURHOMEDIR/rpm

      Replace YOURHOMEDIR with your home directory. If you're unsure of what is, use the command echo ~ to find out. For this to work you also need to create the directories $HOME/rpm, $HOME/rpm/RPMS/noarch and $HOME/rpm/BUILD

      Install the newly built rpm using the following command (you will need to be root):

# rpm -ivh $HOME/rpm/RPMS/noarch/msttcorefonts-1.3-4.noarch.rpm


      You might need to reload the X font server. Normally this is done as a part of the installation process (this is done by chkfontpath). However in some situations it seems like you need to reload or restart the font server manually. I am told that the last argument needs to be restart and not reload on Mandrake 9.0

# /sbin/service xfs reload

      A bug in RedHat 8.0 makes the X server lose the connection to the font server if the font server is restarted instead of reloaded. That will cause assorted strange behaviour (changed fonts in newly opened applications, applications hanging). Logging out and logging in again will solve the problems, or just use 'reload' instead of 'restart'.
   9. Enjoy your new high quality fonts. To verify that the installation succeeded, please use the command 'xlsfonts | grep ^-microsoft'. You should see a whole lot of microsoft font names there. Please note that you need to restart all programs that you want to make aware of the new fonts. Note also that not all fonts have 'microsoft' in their name, some of them will be from 'monotype' instead.
I got to step 7, im running mandrake 10.0 and I go in the terminal to type the command and it dosent work

[robert@localhost robert]$ rpmbuild -bb msttcorefonts-1.3-4.spec
bash: rpmbuild: command not found
[robert@localhost robert]$
Old 09-06-2004, 01:49 AM   #5
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Rep: Reputation: 15
your missing the devlopment packages for RPM which contain rpmbuild | re-add them in
also , this command | building executables from source (source RPMs in this case) takes time so be aware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kde fonts compared to gnoome fonts jang Linux - Distributions 5 08-03-2007 11:03 AM
Fonts question: how to get a full list of fonts in Abiword vharishankar Linux - Software 1 03-17-2005 12:11 PM
is there a way to make Suse fonts look the same as knoppix fonts lemuel Linux - General 0 01-11-2005 10:27 AM
fonts.scale/fonts.dir: Naming convention kaon Linux - General 0 08-09-2004 06:02 AM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 07:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration