home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / gs-common / README.Debian < prev   
Encoding:
Text File  |  2005-04-14  |  3.8 KB  |  109 lines

  1. gs-common for Debian
  2. --------------------
  3.  
  4. This package contains a bunch of scripts and manpages for GPL/AFPL/ESP
  5. Ghostscript.  These files basically come from the latest GPL
  6. Ghostscript.
  7.  
  8. o On Defoma
  9.  
  10. The font configuration for Ghostscript is now controlled by Defoma.
  11.  
  12. If you want to update the font configuration, run:
  13.  
  14.   defoma-app update gs
  15.  
  16. Then the Defoma-configuration script for gs is called.
  17.  
  18. Following describes what the Defoma-configuration script for gs does.
  19.  
  20. Ghostscript accepts type1, type3, gsfontderivatice, truetype, cid,
  21. cmap and psprint categories.  gs registered all PostScript fonts
  22. available to gs in postscript category with <gs>/ added to the top of
  23. their names.
  24.  
  25. Ghostscript creates files under /var/lib/defoma/gs.d/dirs.  This
  26. directory contains CMap and fonts subdirectories, and CMap
  27. subdirectory is symlinked under /usr/share/ghostscript.
  28.  
  29. If you want to have a certain PostScript font name which is not
  30. provided by registered fonts as RealName or Alias, you can have such a
  31. font name substituted. Run
  32.  
  33.   defoma-subst edit-rule ghostscript
  34.  
  35. to edit the subst-rule. 
  36.  
  37. For example, if you want to have Charter-Bold available whose charset
  38. is ISO8859-1 and which has serifed, propotional widthed bold face, you
  39. should add the following line:
  40.  
  41. Charter-Bold --Charset,* ISO8859-1 --GeneralFamily Roman --Weight Bold --Width Variable --Shape Upright Serif
  42.  
  43. Then Charter-Bold will be substituted by the most similar font and
  44. become available.
  45.  
  46. The way to have CJK font substituted changes compared to the old
  47. gs-aladdin (6.50-x).  If you want to have Korean PostScript font,
  48. Dotum-Medium-KSC-EUC-H available whose actual font name is
  49. Dotum-Medium and KSC-EUC-H is a name of CMap, you should add the
  50. following line:
  51.  
  52. Dotum-Medium --CIDRegistry,* Adobe --CIDOrdering,* Korea1 --Weight Medium --Suape Upright
  53.  
  54. Then Dotum-Medium-* (* is a name of Korean CMap) are substituted and
  55. become available.
  56.  
  57. Following is a list of hinttypes specific to gs.
  58.  
  59. * GS-OriginFont, GS-OriginID: These hinttypes are used in
  60.   gsfontderivative category. Substance of a font within this
  61.   category is a small PostScript program that generates a 
  62.   derivative font from a certain substantial type1 or type3 font.
  63.   Generally a derivative font has bold or oblique shape, while
  64.   the original font has normal upright shape.
  65.   A font within this category must specify the original font and
  66.   its RealName with GS-OriginFont and GS-OriginID hinttypes.
  67.  
  68. 1. type1 and type3
  69.  
  70. Fonts within this category are handled in the same way. Symlink to the
  71. fontfile is created under /var/lib/defoma/gs.d/dirs/fonts, and its
  72. font name, font file and alises are listed in Fontmap.
  73.  
  74. 2. gsfontderivative
  75.  
  76. Fonts within this category are handled in the similar way. Only one
  77. difference is that dependency on the origin of the font is registered
  78. when fonts are registered to Id cache.
  79.  
  80. 3. truetype
  81.  
  82. Fonts within this category are handled in the same way as type1 and
  83. type3 if the font doesn't include CJK glyphs. CJK truetype fonts goes
  84. different. It is treated as a cid font.
  85.  
  86. 4. cid
  87.  
  88. Symlink to the font file is created under
  89. /var/lib/defoma/gs.d/dirs/fonts, and its font name, font file and
  90. aliases are listed in CIDFnmap.  Using registered CMaps which belong
  91. to the same CIDRegistry and CIDOrdering, <CID-FontName>-<CMapName> are
  92. registered in postscript category.
  93.  
  94. 5. cmap
  95.  
  96. Symlink to the CMap file is created under
  97. /var/lib/defoma/gs.d/dirs/CMap.  Using registered CID fonts which
  98. belong to the same CIDRegistry and CIDOrdering,
  99. <CID-FontName>-<CMapName> are registered in postscript category.
  100.  
  101. 6. psprint
  102.  
  103. Fonts installed in a PostSciprt printer should be previewable by
  104. ghostscript.  They are registered to psprint category, so the script
  105. accepts this category and add the fonts and their hints to a
  106. subst-rule.
  107.  
  108.  -- Masayuki Hatta (mhatta) <mhatta@debian.org>, Sun Mar 13 16:05:06 2005
  109.