LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2004, 06:55 AM   #1
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Rep: Reputation: 30
Adding TTF fonts to gimp2.0pre3


I've been trying to get a ttf font added to gimp with no success, I followed rodrin's instructions in thread 77536 but gimp still doesn't see the fonts, all my other programs do! what am I doing wrong?

if it helps I installed the font (CaptainPodd.ttf) in /usr/share/fonts/TTF/ doing the following steps

Code:
su
********
mkdir /usr/share/fonts/TTF
cp CaptainPodd.ttf /usr/share/fonts/TTF/
chmod 644 /usr/share/fonts/TTF/CaptainPodd.ttf
/usr/X11R6/bin/fc-cache
cd /usr/share/fonts/TTF
/usr/X11R6/bin/mkfontscale
/usr/X11R6/bin/mkfontdir
vi /etc/XF86Config and uncommented out Load "freetype", in Section "Files"
added "/usr/share/fonts/TTF/"
saved XF86Config
restarted X-server
all my other programs now have the new ttf font available except gimp! What do I need to do to get gimp to play ball?
 
Old 02-29-2004, 04:28 PM   #2
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
ok, I got desperate since no-one seems to be able to help me and so I uninstalled gimp and then re-installed it. When I re-installed it and checked the gimp font list my font was there! Any ideas why this has happened and how I can avoid it in the future? I don't really want to re-install gimp everytime I want a new font!!
 
Old 02-29-2004, 04:31 PM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
A simple way of adding truetype fonts in XFree86 4.2 and later is creating a ~/.fonts directory, copy the font there and type fc-cache -v as yourself (not root). Then your apps should be able to see the new fonts.


Håkan
 
Old 02-29-2004, 04:49 PM   #4
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
brilliant, thanks very much!! I got it sorted out, it was a problem with the directory permissions for the directory the font was in, doing fc-cache -v as my login instead of root showed this!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
TTF Fonts huno Linux - Software 5 12-22-2006 11:38 PM
Adding TTF fonts from an existing Windows install... Eerath MEPIS 2 09-03-2005 06:00 AM
TTF fonts with Capitals Zitan Linux - General 0 03-22-2004 06:50 PM
TTF Fonts XPediTioN Slackware 8 08-16-2003 08:38 PM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration