Skunkware, Ever notice how there are all sorts of freeware TrueType fonts floating around the net? Ever wish you could use them with your cool UNIX apps like "The Gimp"? Now you can! Included in this package are two smaller packages (Postscript type 1 utils and ttf2pt1) which includes everything you need to convert TrueType fonts into Adobe Postscript type 1 fonts that can be installed on your X server. Here are the contents of this archive: README - this file t1utils - PS Type 1 utils, modified to compile cleanly on OSR5 t1utils.tar.gz - PS Type 1 utils, original distribution ttf2pt1-30beta-afm - ttf2pt1, modified to compile cleanly on OSR5 t2p-30b-afm.tar.gz - ttf2pt1, original distribution tt_utils-osr5.tar.gz - The above utils, compiled for OSR5, and installed in a .../usr/local/... directory structure along with tt2ps -- a shell script I wrote to automate the TrueType to Postscript conversion. How to get started quickly: --- -- --- ------- ------- 0. Install this package. 1. Create a directory somewhere for your new fonts. (e.g., /usr/local/share/fonts) 2. Download a bunch of TrueType fonts into this directory. (Given the choice, choose MS-Windows TT fonts over Mac TT fonts.) Make sure all the files have a ".ttf" (in lower case!) extension. 3. In your fonts directory, type: tt2ps *.ttf This will create a lot of .pfb files from your .ttf files. 4. Create a file called "fonts.dir", which should look something like this: 3 coolfont.pfb -myfoundry-coolfont-normal-r-normal--0-0-0-0-p-0-iso8859-1 weirdfont.pfb -myfoundry-weirdfont-normal-r-normal--0-0-0-0-p-0-iso8859-1 The first line is the number of lines in the fonts.dir file, _including_ the first line. After the first line, there should be one line for each .pfb file. The long string after the .pfb filename is an X font specification. The first field should be the name of the foundry -- in other words, who designed the font. The second field should be a unique name for the font. (This is the name that will appear in The Gimp's font selection dialog.) Most of the other fields can be left as in the example above. 5. Now we need to tell your X server where to find the new fonts. From within your X session, type: xset +fp /usr/local/share/fonts xset fp rehash These lines must be typed each time you start a new X session, or you can put them in a .startxrc or .xinintrc file so they happen automatically. If you add new fonts to this directory, make sure you type "xset fp rehash" again. You only need to do a new "xset +fp" command to add new directories to your font path. 6. Use The Gimp or "xfontsel" or another X program to check that your new fonts were instlalled properly. Sometimes the conversion fails silently, or produces an unusable .pfb file. (It's beta software...what do you expect?) I've generally had a lot of success with these utilities, though. -Steve Ginzburg -------