GIMP Playing Nice With Windows Truetype Fonts

Discuss Applications
Post Reply
TheQuirk
programmer
programmer
Posts: 114
Joined: Wed Jan 22, 2003 4:11 pm

GIMP Playing Nice With Windows Truetype Fonts

Post by TheQuirk »

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?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

Image

The above is Comic Sans MS done in the Gimp (stock Fedora install).

TheQuirk
programmer
programmer
Posts: 114
Joined: Wed Jan 22, 2003 4:11 pm

Post by TheQuirk »

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: 114
Joined: Wed Jan 22, 2003 4:11 pm

Post by TheQuirk »

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.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

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?

TheQuirk
programmer
programmer
Posts: 114
Joined: Wed Jan 22, 2003 4:11 pm

Post by TheQuirk »

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.

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee »

how can i config my X11 to use XFS?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

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: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

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?

Tux
guru
guru
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Post by Tux »

Don't mean to insult you here Quirky, but do you actually have the GIMP Freetype plugin installed?

Post Reply