Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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]$
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.