home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 517a.lha / FontManipulatorForDtp_v2 / encodings / ABOUT_ENCODINGS next >
Text File  |  1991-06-09  |  7KB  |  166 lines

  1. About the encoding files in this directory
  2. ==========================================
  3.  
  4. File format
  5. -----------
  6.  
  7. The file format is compatible with PostScript syntax.  It is also easy for
  8. other programs to read.  Do not change the format of the files, as programs
  9. other than yours may need to read them.
  10.  
  11. Character codes that are not defined within the file default to their
  12. values in Adobe StandardEncoding.  Most PostScript interpreters cannot
  13. handle more than 500 objects on their stack at once.  So, allowing for a
  14. few stack levels being used for other things, if you attempt to define more
  15. than 240 or so entries in the file you will likely get a "stackoverflow"
  16. error from your PostScript engine.
  17.  
  18. The file format is also compatible with that used by PPage in its PostScript
  19. prologue.  So it is easy to edit the prologue to change the encoding; just
  20. delete the contents of "amigavec" right near the beginning of file and
  21. insert in its place the contents of your chosen encoding file.
  22.  
  23. N.B. in PostScript the character "%" denotes the beginning of a comment; the
  24. rest of the line is ignored.  Numbers in the format "8#nnn" are octal; it is
  25. quite OK to replace them with decimal values.
  26.  
  27. If you don't know what is in the Adobe standard encoding, just run "mkatc"
  28. with a null encoding file and the verify option and it will tell you.  If
  29. you redirect the standard output you can use it to build encoding files.
  30.  
  31. IsoLatin1
  32. ---------
  33.  
  34. This is the standard Adobe ISOLatin1Encoding.  This is essentially the
  35. same as the Amiga character set.  There are however possibly some very
  36. slight differences, in that the character "hyphen" is preferred instead
  37. of "minus", "quoteleft" instead of "grave", and "quoteright" instead of
  38. "quotesingle".  The various Amiga bitmaped fonts differ in their rendering
  39. of these characters; I have prefered the Adobe interpretation as it is more
  40. suitable for DTP, and is compatible with PPage.  At screen resolutions, the
  41. difference is usually immaterial.
  42.  
  43. All the ISO Latin 1 characters are present in standard Adobe PostScript
  44. fonts.  Most are also in the Compugraphic fonts, but some seem to be
  45. missing: "twosuperior", "threesuperior", "onesuperior", "onequarter",
  46. "onehalf", "threequarters", "Eth", "Yacute", "Thorn", "eth", "yacute",
  47. "thorn".  Also missing are "brokenbar", "minus" and "multiply", but these
  48. have lookalikes.
  49.  
  50. PPageOrg
  51. --------
  52.  
  53. This is the original character set used by Professional Page V2.0.  It was
  54. obtained by reverse engineering the Compugraphic fonts encoding files.  It
  55. is nearly a subset of the ISOLatin1 encoding, but with a few characters
  56. replaced by near lookalikes.  The characters "greater" and "less" have been
  57. changed to "guilsinglright" and "guilsinglleft", which are more useful
  58. typographically but not so good if you are typesetting program source code.
  59.  
  60. N.B. a comprehensive set of mathematical symbols is available in the
  61. "Symbol" font, so you can always switch to it if a character you need is
  62. not present in the standard encoding.  You might even be able to make the
  63. switch automatic using the Article Editor's translation facility.
  64.  
  65. NN.B. If you want double quotes, just type two single quotes and turn
  66. kerning on.  (Yes, I know it is obvious, but it took me a long time to
  67. think of it.)
  68.  
  69. PPageExt
  70. --------
  71.  
  72. This is an extension of the PPage character set.  It is almost a superset,
  73. except for the odd lookalike, and is fully upwards compatible.  A number of
  74. character codes were unused in the original set; instead of the missing
  75. ISOLatin1 characters I have added the most useful typographic symbols
  76. present in the Compugraphic and Adobe PostScript fonts.  So now you can use
  77. daggers, ellipses, ligatures, dashes etc. from within PPage.
  78.  
  79. N.B. I have reassigned "dieresis" from the original set; as it was not in any
  80. of the keymaps and is not much use on its own anyway, it is unlikely that
  81. anyone was using it.  I have also replaced "macron" by "minus", an
  82. approximate lookalike, and "ring" by "degree" as per ISO Latin 1.
  83.  
  84. N.N.B. You can make your own fractions by using the "fraction" character and
  85. adjusting the size and baseline of the digits.  You can also do subscripts
  86. and superscripts.
  87.  
  88. PPageExtOSF
  89. -----------
  90.  
  91. This is a variation on PPageExt, with the figures replaced by old style
  92. (non-lining) figures.  This may be useful if you have a font that includes
  93. these characters.
  94.  
  95. Windows
  96. -------
  97.  
  98. MS Windows uses a character set that is identical to ISO Latin 1, but with
  99. a few additional characters.  It is therefore a superset of the Amiga
  100. character set.  I have included it because it might be a suitable base for
  101. defining an extended character set for the Amiga.
  102.  
  103. N.B. the additional characters are in the range Hex 80 - 9F.  These are
  104. offically designated as "control" characters.  Many Amiga programs (including
  105. PPage 2.0 and its Article Editor) cannot handle these character codes.
  106.  
  107. Acents
  108. ------
  109.  
  110. Standard Adobe level 1 PostScript interpreters (in other words most
  111. PostScript printers) require all the components of the composite characters
  112. to be present in the encoding somewhere before they can be rendered.  So
  113. for example to render "icircumflex" the characters "dotlessi" and
  114. "circumflex" must be present in the encoding, even though they are not
  115. actually referenced directly.
  116.  
  117. It is convenient to assign to the accents codes that are control characters,
  118. and therefore are not going to be needed for real data characters.  So the
  119. accents are defined in a separate encoding file, using characters in the
  120. range Hex 00 - 1F.  If you are creating a PostScript encoding vector for
  121. downloading to a printer you should include this file as well as the
  122. encoding of your choice.  But if you are just generating bitmaps or metrics,
  123. or Compugraphic encodings then the accents can be ignored.
  124.  
  125. N.B. Post does not require the accents to be present, nor does Adobe
  126. PostScript level 2.
  127.  
  128. Differences
  129. -----------
  130.  
  131. I have tabulated here the differences between the encoding vectors, giving
  132. also the keystrokes in the usa1 keymap.
  133.  
  134.     Key      ISOLatin1      PPageExt       PpageOrg
  135.     ---      ---------      --------       --------
  136.  
  137.  45 -        minus          hyphen         hyphen
  138.  60 <        less           guilsinglleft  guilsinglleft
  139.  62 >        greater        guilsinglright guilsinglright
  140. 160 space    space          space
  141. 166 Alt/I    brokenbar      fraction
  142. 168 ???      dieresis       trademark
  143. 173 Alt/n    hyphen         hyphen
  144. 175 Alt/N    macron         minus
  145. 176 Alt/w    degree         degree         ring
  146. 177 Alt/z    plusminus      plusminus
  147. 178 Alt/2    twosuperior    fi
  148. 179 Alt/3    threesuperior  fl
  149. 180 ???      acute          quotesingle
  150. 181 Alt/u    mu             mu
  151. 183 Alt/8    periodcentered bullet         bullet
  152. 184 Alt/m    cedilla        quotesinglbase quotesinglbase
  153. 185 Alt/1    onesuperior    florin
  154. 188 Alt/5    onequarter     quotedblleft
  155. 189 Alt/6    onehalf        quotedblright
  156. 190 Alt/7    threequaters   quotedblbase
  157. 208 Alt/D    Eth            emdash
  158. 215 Alt/x    multiply       multiply
  159. 221 Alt/f Y  Yacute         ellipsis
  160. 222 Alt/T    Thorn          daggerdbl
  161. 240 Alt/d    eth            endash
  162. 247 Alt/X    divide         divide
  163. 253 Alt/f y  yacute         perthousand
  164. 254 Alt/t    thorn          dagger
  165.  
  166.