Topic: HOW-TO: install ttf fonts in #! for newbies!
I just figured out how to add ttf fonts to #! and i thought other newbies like me would be interested in learning how to add extra fonts to #!, so i decided to share!
well without much ado,
1. Go to your home directory, either through file manager or just open a terminal.
2. Create a folder called "fonts".
if you are on a terminal, type:
mkdir fonts3. Download the fonts that you need and move them to your newly created "fonts" folder.
4. Go to your new folder "fonts", and open up a terminal there or if your first terminal is still open, type:
cd fonts5. Now , you have to move your .ttf fonts in your "fonts" folder to the actual folder where the fonts are located. In your terminal, type:
mv *.ttf /usr/share/fonts/truetype(note: 1. this method is for truetype fonts.
2. * denotes the name of your font, for example, Arial.ttf)
6. Now, you have to go to /usr/share/fonts/truetype. In your terminal, type:
cd /usr/share/fonts/truetype7. Now you need to create fonts.scale and fonts.dir. Type the following commands in your terminal:
mkfontscale
mkfontdir
fc-cache8. Now, you have to make sure your crunchbang system finds the file. So, in your terminal type:
xset fp rehash9. Now to make sure you have your font installed, open Abiword Word Processor and check to see if your font is done.
Tips:
1. Use "sudo" if command is not working.
2. Make sure you are in the correct directories while typing out commands.
3. Use the same terminal, you opened up in the beginning and follow commands properly.
4. When you download fonts in a archived package, make sure you transfer all the files ending with .ttf before doing anything.
Sources:
From where i learnt how to install .ttf fonts-->
1. http://vietunicode.sourceforge.net/howto/fontlinux.html
2. http://www.bigwebmaster.com/General/How
fonts.html
If there are any mistakes or if there is a better way please post and tell me!!
Hope this is useful and saves you a lot of time!
Have fun #!ing! ![]()
Note: Oh! i keep shortening my words like you to "u". Sorry about that!
Last edited by GhostSinger (2010-08-30 16:27:09)