home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / applicat / 9701 < prev    next >
Encoding:
Text File  |  1992-12-30  |  2.1 KB  |  59 lines

  1. Newsgroups: comp.sys.amiga.applications
  2. Path: sparky!uunet!paladin.american.edu!gatech!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!rzusuntk.unizh.ch!blatter
  3. From: blatter@amiga.physik.unizh.ch (Martin A. Blatter)
  4. Subject: Re: Bug in PageStream 2.21
  5. Message-ID: <1992Dec30.163303.15200@rzu-news.unizh.ch>
  6. Sender: root@rzu-news.unizh.ch (Operator)
  7. Organization: ICU - University of Zurich, Dept. of Computer Science
  8. X-Newsreader: TIN [version 1.1 PL8]
  9. References: <1992Dec29.225504.4172@usage.csd.unsw.OZ.AU>
  10. Date: Wed, 30 Dec 1992 16:33:03 GMT
  11. Lines: 46
  12.  
  13. Trevor Elbourne (Supr. Hell) BE (trevore@vast.unsw.edu.au) wrote:
  14. : blatter@amiga.physik.unizh.ch (Martin A. Blatter) writes:
  15. : : Trevor Elbourne (Supr. Hell) BE (trevore@vast.unsw.edu.au) wrote:
  16. : : : Also If I use CGFonts in PageStream I get a good print from pageStream.
  17. : : : But when printing to file and using post they all come up as my default font.
  18. : : As Post does not have any resident fonts you must either make sure
  19. : : that you're using a font in Soft-Logik format or Garamond in CG 
  20. : : format or you must supply the font in Adobe Type 1 format and
  21. : : put it into Post's font path.
  22. :     I thought that much so I made sure that the postcript versions
  23. : of the fonts were available. No luck though. Post did not even attempt to
  24. : access them acording to snoopdos. It went ahead and printed with the default
  25. : font. 
  26.  
  27. There are two things you must take care of. First make sure you font
  28. directory has been added to the file init.ps. Assuming your type 1
  29. fonts are in data:outlinefonts/outlines-type1-HQ/ the following entry
  30. must be present:
  31.  
  32. systemdict
  33. /findfont
  34. {
  35. [...]
  36. % Look in all our font directories
  37.   dup FontDirectory exch known not             % Not in FontDirectory?
  38.   { dup (data:outlinefonts/outlines-type1-HQ/) () loadfont
  39.   } if
  40. [...]
  41.  
  42. Second, the file name of the font file must be the same as the FontName
  43. referenced in the PostScript code. Examples of valid file names for
  44. post are:
  45.  
  46. Times-Roman
  47. Bodoni-BoldItalic
  48.  
  49. Invalid file names are:
  50.  
  51. TimesRoman
  52. Bodoni-BoldItalic.pfb
  53.  
  54. Hope that helps
  55. --Martin
  56.  
  57. --
  58. Martin A. Blatter - blatter@ifi.unizh.ch, blatter@amiga.physik.unizh.ch
  59.