home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / applicat / 8718 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.7 KB  |  53 lines

  1. Path: sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!smurf.sub.org!easix!bluemoon.GUN.de!georg
  2. From: georg@bluemoon.GUN.de (Georg Sassen)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: Help needed for POST
  5. Message-ID: <1396.1611921534@bluemoon.GUN.de>
  6. Date: Mon, 16 Nov 1992 14:34:09 GMT
  7. References: <1992Nov10.121703.1201@galaxy.gov.bc.ca> <1992Nov15.112503.6223@solaris.rz.tu-clausthal.de>
  8. Reply-To: georg@bluemoon.GUN.de (Georg Sassen)
  9. Organization: just me
  10. Content-Type: text/plain; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. Lines: 39
  13.  
  14. In article <1992Nov15.112503.6223@solaris.rz.tu-clausthal.de> hiit@rz.tu-clausthal.de (Ibrahim Tertemiz) writes:
  15. >You can also take the fonts from GS for PC's . There is only one problem:
  16. >you have to rename them all :(
  17.  
  18. Try this in your REXX: drawer (it uses makelink, for 1.3 systems you
  19. would have to modify it to use rename or copy). Start it after you
  20. have cd'ed to the directory where the ghostscript fonts and the
  21. Fontmap file are.
  22.  
  23. ---------------------------cut------------------------------------
  24. /* link ugly ghostscript font names to real font names */
  25.  
  26. x = open('mapfile','Fontmap','R')
  27.  
  28. if x~=1 then do
  29.     say "Where is the Fontmap file ?"
  30.     exit 20
  31. end
  32.  
  33. do while ~eof('mapfile')
  34.     r = readln('mapfile')
  35.     if left(r,1)~='/' then iterate
  36.     r=translate(r,' ','09'x)
  37.     parse var r '/'realname '('uglyname')'
  38.     realname=strip(realname)
  39.     uglyname=strip(uglyname)
  40.     say realname uglyname
  41.     address command 'MakeLink' realname uglyname
  42. end
  43.  
  44. call close('mapfile')
  45. -------------------------------cut-------------------------------
  46.  
  47.  
  48.     Georg
  49.  
  50. --
  51. Georg Sa▀en, Dⁿsseldorf, Germany. Voice +49 211 255799, Fax +49 211 255798
  52.  
  53.