GIMP Playing Nice With Windows Truetype Fonts

Discuss Applications

GIMP Playing Nice With Windows Truetype Fonts

Postby TheQuirk » Sat Mar 20, 2004 8:49 pm

Today, I had a chance to shamelessly steal the Windows truetype fonts. I, of course, did, thinking I could try make some neato things in the GIMP. No such luck! After installing them and having everything else reconize said fonts, I loaded up the GIMP for the first time in a while, and went to the text menu. Guess what? The fonts aren't there. Looking closer into the matter via Google, I found out GIMP seems to only reconize "Type 1" fonts. I couldn't find much more about this. Any ideas? Did the internet lie to me?

How the heck could I use these nifty fonts in The GIMP?
TheQuirk
programmer
programmer
 
Posts: 113
Joined: Wed Jan 22, 2003 4:11 pm

Postby Void Main » Sat Mar 20, 2004 9:37 pm

Image

The above is Comic Sans MS done in the Gimp (stock Fedora install).
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby TheQuirk » Sat Mar 20, 2004 9:51 pm

Exactly what I mean.

Edit: still doesn't work. Mozilla, Gaim display said fonts.

Argh!

Edit2: Found this. Maybe this thread will turn useless.
TheQuirk
programmer
programmer
 
Posts: 113
Joined: Wed Jan 22, 2003 4:11 pm

Postby TheQuirk » Sun Mar 21, 2004 12:44 am

Jesus Christ, I'm about to cry. Apparantly, the case is different when using Slackware--it does some magical thing that ruins my life and doesn't allow me to use pretty Microsoft fonts.

Can anybody explain what's wrong with this?

Code: Select all
bash-2.05b# xset fp+ /usr/X11/lib/fonts/TTF
xset:  bad font path element (#181), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax


Searching Google, I found many people with the same problem--no one wants to give a solution, though.
TheQuirk
programmer
programmer
 
Posts: 113
Joined: Wed Jan 22, 2003 4:11 pm

Postby Void Main » Sun Mar 21, 2004 7:50 am

Well, according to the message I would guess either your directory has the wrong permissions or you didn't run mkfontdir or mkfontscale on the directory. See my TTF tip for Red Hat (that part should be the same on all distros):

http://voidmain.is-a-geek.net/files/RPM ... 1.i386.rpm

Also, are you running xfs?
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby TheQuirk » Sun Mar 21, 2004 1:06 pm

I ran through your tips, but the last part (IIRC) didn't really match up--there was a nifty Slackware version on the net, though, so I used that.

The premissions on the directoty are the same as all the font folders. I ran both mkfontdir and mkfontscale in the directory. I'm not using xfs.
TheQuirk
programmer
programmer
 
Posts: 113
Joined: Wed Jan 22, 2003 4:11 pm

Postby Doogee » Sun Mar 21, 2004 2:30 pm

how can i config my X11 to use XFS?
Doogee
administrator
administrator
 
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Postby Void Main » Sun Mar 21, 2004 5:40 pm

Doogee wrote:how can i config my X11 to use XFS?


Start xfs, comment out all your FontPath lines in your XF86Config and add a line that looks like this where all your other FontPath statements were:

Code: Select all
        FontPath     "unix/:7100"
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Void Main » Wed Apr 14, 2004 5:32 pm

Lookin gback on this thread I am curious. In Nautilus do the fonts you want to use show up when you put "fonts:" as the URL? Do you use Gnome, KDE, or some other desktop environment?
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Tux » Wed Jun 09, 2004 2:30 am

Don't mean to insult you here Quirky, but do you actually have the GIMP Freetype plugin installed?
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am


Return to Applications

Who is online

Users browsing this forum: No registered users and 0 guests

cron