LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   fonts installation (https://www.linuxquestions.org/questions/linux-from-scratch-13/fonts-installation-497607/)

mohit.jain 11-01-2006 01:07 PM

fonts installation
 
Sir/madame.

I have suceesfully build a BLFS system without networking support right now !!

i just wanted to implement few things as a aadd on it !!

1) i installed kde in hindi language. its working fine..But when i installed a font (ttf) it is not getting installed in the specified directories..
i copied it to the mentioned directories in blfs book
version 6.1 page220
i copied the new font(gargi_1.7.ttf) in /usr/share/fonts
but it wasnt getting installed(since the color of the font as compared to other fonts in there made me think so)
and besides when i startx and go into control center for fonts..
there is no mentioned of this fonts..
So kindly help me out to make a system which can work in my regional language
any help will be appreciated
THanks !!
mohit jain

Vitalie Ciubotaru 11-01-2006 06:26 PM

1. The BOOK says you have to
Code:

mkfontscale &&
mkfontdir

in the directory where you have your TrueType fonts.
2. The BOOK says you might have to edit your /etc/X11/xorg.conf [or XF86Config] file so as to load the "freetype" module and so as to find your TrueType font directories.
3. The BOOK says you have to run
Code:

fc-cache
4. The BOOK reminds
Quote:

You should rerun mkfontscale and mkfontdir any time you add or delete TrueType fonts. You should also rerun fc-cache each time you add or remove any fonts.
5. Follow the book, the book is good!
Good luck

Vitalie CIUBOTARU

mohit.jain 11-06-2006 02:39 PM

Sir

i did everything as said to install TTF fonts !!

and i was sucessfully able to install a font named as Gargi_1.7.1.ttf in the /usr/lib/X11/fonts/TTF folder..

Actually i have installed a kde in HINDI( Indian language) and this font is a hindi font required so that i can make a HINDI regional language Distribution of BLFS.


me saying font was sucessful installed as

1) there were entries in the fonts.scale file
2) the immediate entries were there in fonts.dir also.
3) i also ran the fc-cache command

so properly Gargi_1.7.1.ttf font was properly installed.
But when i used startx to enter in the x server GUi kde mode !!

i went into control center ->fonts but wasnt able to locate this Gargi_1.7.1.ttf font there.
actually this need to be there so that whenever i change into regional settings in the control center only to HINDI.
i got garbage figures all over the desktop
this garbage figures are there due to unavailability of fonts.THus this font need to be set up there !!
But me not able to locate Hindi fonts in font field of control center


Any help is appreciated !
I tried to explain my problem as properly as i can !
If any errors kindly dont mind the mistakes and reply with whatever part wasnt clear.

Thank you !!

MJ


All times are GMT -5. The time now is 03:02 AM.