Fonts in GNU/Linux
In a GNU/Linux system fonts are generally located in three places,
1) /usr/share/fonts,
2) /usr/local/share/fonts and
3) /home/
These are defined in /etc/fonts/fonts.conf
To add a True type font,
# cd /usr/local/share/fonts # or /usr/share/fonts, but this is less safe
# sudo mkdir truetype
# cd truetype
# sudo cp /path/to/your/fonts/*.ttf .
# sudo cp /path/to/your/fonts/*.TTF .
# sudo chown root:root *.ttf
# sudo chown root:root *.TTF
# sudo mkfontscale
>> Note: For fedora do # ttmkfdir before fc-cache
# sudo mkfontdir
# sudo fc-cache
(mkfontscale and mkfontdir creates fonts.scale and fonts.dir files within /usr/local/share/fonts/truetype, and fc-cache updates fonts.cache-1 files within all font directories.)
Now we need to create sym links to other fonts folders,
# ln -s /usr/local/share/fonts/truetype /usr/share/fonts/truetype/myfonts
# ln -s /usr/local/share/fonts/truetype /home/
Fonts can also be added directly to /user/.fonts
But this way its available only to particular user(s).
Also we can open the virtual fonts folder thru nautilus for GNOME, by Open Locatiom --> fonts:
or by,
# nautilus fonts:
Again this restricts to particular user(s).
For bitmapped fonts,
Please refer https://wiki.ubuntu.com/FontInstallHowto
7 Comments:
Greets to the webmaster of this wonderful site. Keep working. Thank you.
»
Your are Excellent. And so is your site! Keep up the good work. Bookmarked.
»
Your website has a useful information for beginners like me.
»
Interesting site. Useful information. Bookmarked.
»
I have trouble viewing tamil pages like dinamalar,vikatan,kumudham etc.
I'm a newbie to linux and I use Linux Ubuntu 7.04 Feisty Fawn Desktop Edition
I have downloaded the tamil font from dinamalar (Shree-Tam-0802.ttf)
But when I click it , The GNOME font displayer shows square boxes of different sizes
I installed the font
But still , Firefox 2.0.0.3 shows strange letters and i have set the Unicode-8
Still nothing works
please help me
Any one can provide me a solution
they can mail to me at r.anshul@yahoo.co.in
இதையே கொஞ்சம் தமிழில் போடலாமே?
சில இடங்கள் புரியவில்லை.
Hi Anshul
Have a look at here
http://tamilgnu.blogspot.com/
Pl check your mail address..bouncing back.
Post a Comment
<< Home