[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gNewSense-users] Adding new font
From: |
Shyam K |
Subject: |
Re: [gNewSense-users] Adding new font |
Date: |
Mon, 21 Sep 2009 11:33:10 -0700 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.6) |
Quoting Maruthai Karunakaran <address@hidden>:
How to add a new font information in /usr/local/......?
Though I have entered as root user and type out that command - message
displayed as permission denied
You just need to add the font to either at /home/<username>/.fonts
directory to get those fonts installed locally for that user or to
/usr/share/fonts/<any subdirectory> to get it installed on the whole
system.
that is:
1)take a terminal , if you are using gnome, from
application->accessories->terminal
2) assuming you have the desired font on home directory, you can issue
the following command to copy the font to
/usr/share/fonts/truetype/ttf-tamil-fonts (on a wild assumption that
you are adding a tamil font or else any other subdirectories of
/usr/share/fonts/ should do
command:
sudo cp tamil-font.ttf /usr/share/fonts/truetype/ttf-tamil-fonts/
replacing tamil-font.ttf with your font file name;-)
3) done!;-) Almost instantly (even without a X restart, you should
get those fonts listed on usual font selection utilities
4) check everything is ok.... like looking at
system->preference->appearance font tab whether the font is in the list.
or else, if you are looking for font-config information, those are at
/etc/fonts/conf.d/ .but anyway, thats for an advanced hack..
usually if you are using gnome you can change the font settings on
system->preference->appearance and font tab inside that)
Hope this helps.
Happy Hacking
Shyam K