chris:b Posted July 13, 2003 Report Share Posted July 13, 2003 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. Quote Link to comment Share on other sites More sharing options...
zero0w Posted September 1, 2003 Report Share Posted September 1, 2003 ttmkfdir can generate those lines for each MS corefonts in step 2. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.