LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-14-2004, 07:42 AM   #1
RickyM
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9.0
Posts: 13

Rep: Reputation: 0
Unhappy Can't get TTF fonts to work in GIMP


Ok, I got some new fonts working in things like Open Office and I wanted to get them to work in The GIMP. I downloaded gimp-freetype, unzipped it and then went to the terminal. I typed in "./configure" as it asks me too but I get this message:


quote:
--------------------------------------------------------------------------------

The gimptool script installed by GIMP could not be found.
If GIMP was installed in PREFIX, make sure PREFIX/bin is in your path, or set the GIMPTOOL environment variable to the full path of the gimptool.

Configure: error: Cannot find GIMP: Is gimptool in path?

--------------------------------------------------------------------------------


GIMP is in the normal directory it is installed to when installing Redhat 9, can anyone help me fix this problem? I really need to use my TTFs in GIMP.

I'm quite new to Linux so any answers would be best given in very basic steps if you can.

Thank you to anyone who helps.
 
Old 03-15-2004, 01:55 PM   #2
RickyM
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Please can someone help me? I've asked in a couple of places now to no avail

I will be extremely grateful.
 
Old 03-15-2004, 02:03 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
first, what happens when you type:
Code:
whereis gimp
?

type:
Code:
echo $PATH
is the gimp folder in the path?
 
Old 03-16-2004, 02:48 AM   #4
RickyM
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
When I run "whereis gimp", I get

Quote:
/usr/bin/gimp /etc/gimp /usr/lib/gimp /usr/share/gimp /usr/share/man/man1/gimp1.gz
And when I say "echo $PATH" I get

Quote:
/usr/local/bin : /usr/bin/ : /usr/X11R6/bin : /home/richard/bin
So I think some of the folders are in there but not sure which ones I need. What should I do next?
 
Old 03-16-2004, 03:19 PM   #5
RickyM
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
bumping this because I was so close to getting an answer. Can anyone help given what Komakino said and my reply?
 
Old 03-16-2004, 04:00 PM   #6
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
I gave up on trying to use TTFs in XFree, because you can't use a lot of them anyway. Go to my site @ http://pstudios.vze.com and download the type1 font pack that I made by converting windows fonts such as verdana and arial to type1. That should work out fine and should make web pages look better as well.
 
Old 03-16-2004, 04:43 PM   #7
RickyM
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the fonts but I have some special fonts that are TTFs that I need to be able to use. If I can't use the gimp-freetype thing, is there a way of converting TTFs into Type1 fonts like you have? Is it easy to do?
 
Old 03-16-2004, 04:51 PM   #8
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Yeah, all you have to do is download and install ttf2pt1 and use it on all the fonts that you wish to convert then move them into the type1 fonts folder in /usr/lib/X11R6/lib/X11/. Here's the command you use to convert the files.

ttf2pt1 -b font-name.ttf

There's a way to get them all in one go via a for loop, but I'm not sure how to do that. Perhaps someone else can tell you.
 
Old 03-16-2004, 05:10 PM   #9
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Alternatively, do:
Code:
export GIMPTOOL=/usr/bin
and try again. If that doesn't work try adding /gimptool to what I put as code just above. (so it says /usr/bin/gimptool)
Failing that type:
Code:
whereis gimptool
and add THAT path in the same way I showed above and then try again.
Btw, gimp 2.0 (they're on pre-realease 4 at the moment) has excellent support for ttf fonts when you use the freetype plugin for it. It supports 2-byte fonts which most programs do not.
 
Old 03-17-2004, 03:48 PM   #10
RickyM
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the help again guys. I tried the 'export' thing but I was getting all kinds of new errors so I've downloaded the converter. I'll let you know if I can get it to work.
 
Old 03-17-2004, 04:36 PM   #11
RickyM
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Damn, when I run make install on this font converter, I get this error:
Quote:
Cannot create directory /usr/local/libexec/ttf2pt1 - permission denied
Anyone know how to fix this? Sorry for all these problems but Linux does like to make things difficult doesn't it?!
 
Old 03-17-2004, 04:50 PM   #12
RickyM
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Never mind, I fixed it! Think it's working now, thanks for all your help guys

Edit: Damn, I thought I had it. The program is working now but I can't paste the files into the directory. Anyone know how to fix that? I just can't click the option to paste, it's greyed out.

Last edited by RickyM; 03-17-2004 at 04:57 PM.
 
  


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
Some TTF fonts not available in Gimp, xfontsel, etc. agb Mandriva 2 02-03-2004 05:30 PM
TTF Fonts XPediTioN Slackware 8 08-16-2003 07:38 PM
Imported Windows TTF fonts work in GTK+ 1.2 but not 2.0 Locura Slackware 1 07-03-2003 08:53 PM
Enabling fonts to work under GIMP - Mandrake 9.1 bznutz Linux - Software 3 06-08-2003 06:51 PM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 06:41 AM

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

All times are GMT -5. The time now is 05:20 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