LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
Fonts?


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, 04:41 PM   #2
hw-tph
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.

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

Original Poster
Rep: Reputation: 15
http://img77.exs.cx/img77/8265/snapshot11.png

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

Original Poster
Rep: Reputation: 15
Update!!
Code:
   1.

      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
   2.

      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
   3.

      Download the latest msttcorefonts spec file from here
   4.

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

      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
   6.

      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
   7.

      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

   8.

      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

Code:
[robert@localhost robert]$ rpmbuild -bb msttcorefonts-1.3-4.spec
bash: rpmbuild: command not found
[robert@localhost robert]$
 
Old 09-06-2004, 12:49 AM   #5
stevie_velvet
Member
 
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
 
  


Reply


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 10:03 AM
Fonts question: how to get a full list of fonts in Abiword vharishankar Linux - Software 1 03-17-2005 11:11 AM
is there a way to make Suse fonts look the same as knoppix fonts lemuel Linux - General 0 01-11-2005 09:27 AM
fonts.scale/fonts.dir: Naming convention kaon Linux - General 0 08-09-2004 05:02 AM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 06:41 AM


All times are GMT -5. The time now is 04:13 PM.

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