LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-01-2006, 01:07 PM   #1
mohit.jain
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
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
 
Old 11-01-2006, 06:26 PM   #2
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
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
 
Old 11-06-2006, 02:39 PM   #3
mohit.jain
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installation of tamil fonts sundararaman SUSE / openSUSE 7 12-09-2006 01:50 AM
Installation of .ttf fonts in X StonedZealot Linux - Software 5 04-04-2004 03:53 PM
TTF Fonts Installation XPediTioN Mandriva 0 02-03-2004 05:06 PM
crappy fonts (after 9.2 installation) Osten Mandriva 9 11-22-2003 10:39 AM
Fonts installation problem - Slackware 9.0 kaspar_ru Slackware 1 04-15-2003 04:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration