home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / SYS / Env / HWGPOST / PATH_FONT
Text File  |  1994-11-30  |  2KB  |  60 lines

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %
  3. %   This file (C)1994 by Heinz Wrobel, for Joan Thuesen
  4. %
  5. %   $Id: PATH_FONT 1.3 1994/11/30 15:57:40 heinz Exp $
  6. %
  7. %   This file is part of HWGPOST. Please check the documentation for
  8. %   information about legal issues, price, and distributability.
  9. %   Contact me at <heinz@hwg.muc.de> if no other address can be found.
  10. %
  11. %   This is the definition file for the font search path for
  12. %   HWGPOST >=22.17. It should be located in (%ENVARC%HWGPOST), to be
  13. %   copied into (%ENV%HWGPOST) by the AmigaOS.
  14. %
  15. %   You'll define a search for font files in "not really PostScript"
  16. %   notation. With a given font name <file>, the first string is the prefix
  17. %   and the second string the suffix used. The second string may be
  18. %   omitted for an empty filename suffix. Note that the two strings must be
  19. %   separated by a comma and on one line! This file is _not_ parsed as
  20. %   a PostScript program!
  21. %
  22. %   The resulting filename tested will be
  23. %
  24. %       <prefix><file><suffix>.
  25. %
  26. %   Name aliasing is not supported currently.
  27. %
  28. %   For (MyFont) with a Prefix of (%PSF%) and a suffix of (.fnt), this would
  29. %   result in a file name of (%PSF%MyFont.fnt). Once a file is found with
  30. %   that name, the search is stopped and the filename is used. Below are
  31. %   the standard search definitions.
  32. %
  33. %   How does all of this work in detail? Say you have this file
  34. %   unmodified in (%ENV%HWGPOST) which means "ENV:HWGPOST" in AmigaOS
  35. %   notation. Then you run some PostScript file that tries to find
  36. %   "/Times-Roman" as font. If the interpreter cannot locate this font
  37. %   internally or via a specification in HWGPOSTResources, it will
  38. %   check (%ENV%HWGPOST/PATH_FONT). All the prefix/suffix combinations
  39. %   will be tried in order to access the file. For the first entry
  40. %   this would give these results:
  41. %
  42. %   Prefix          Suffix      PostScript name         AmigaOS name
  43. %
  44. %   (%PSFONTS%)     ()          (%PSFONTS%Times-Roman)  "PSFONTS:Times-Roman"
  45. %
  46. %   If the file in AmigaOS specification can be found, it will be
  47. %   loaded as the font in question.
  48. %
  49. %
  50. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  51.  
  52. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  53. % Prefix                % Suffix
  54. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  55. (%PSFONTS%),            ()
  56. %(%CGFONTS%PS/),         (.font)
  57. (%PSFONTS%OtherFonts/), ()
  58.  
  59. %%% EOF %%%
  60.