Jump to content

Solved: The Gimp (1.2.3) - Add new fonts - MDK 9.1


chris:b
 Share

Recommended Posts

I found a solution for the annoying problem that I could not add ms fonts to The Gimp. This workaround was posted on a mdk related list (can't find it anymore), but I had to add some things to get it to work. Here it is:

 

1. Copy (as root) the fonts you wish to use to

/usr/X11R6/lib/X11/fonts/TTF

(I had done this before to use them systemwide - which worked ok but not for The GIMP.)

2. Add for each new font 1 line into both the files fonts.scale and fonts.dir (same dir). For the fonts.scale you first need to set it 'writable'.

The lines, some examples:

arial.ttf -b&h-Arial Normal-medium-r-normal--0-0-0-0-p-0-iso8859-1

tahoma.ttf -b&h-Tahoma Normal-medium-r-normal--0-0-0-0-p-0-iso8859-1

comic.ttf -b&h-Comic MS-medium-r-normal--0-0-0-0-p-0-iso8859-1

(the lines are the same in both files)

You can play a bit with the lines, look at the fonts which are already included. Save the files.

3. As root perform:

# mkfontdir

# xset fp rehash

# service xfs restart

4. Test with The Gimp, for example Script-Fu. It works for me.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...