home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 4 / AUCD4.iso / acorn / riscos / releases / ro2extra / !PrinterPS / PSencoding < prev    next >
Text File  |  1989-04-26  |  7KB  |  182 lines

  1. % > <PDriver$Dir>.PSencoding
  2.  
  3. % CHARACTER ENCODING VECTORS
  4.  
  5. % Note for advanced users: !PrinterPS will remove PostScript comments
  6. % from this file when copying it into the PostScript output (to avoid
  7. % excessive amounts of output) according to the following algorithm:
  8. %
  9. %   (a) If a line starts with "%%" or "%!", it is copied without any
  10. %       changes.
  11. %   (b) Otherwise, if a line contains a "%", the "%" and everything
  12. %       that follows it are removed.
  13. %   (c) Then leading and trailing spaces are removed.
  14. %   (d) Then the line is ignored if it is empty.
  15. %
  16. % Also, if !PrinterPS finds a line starting "%/", it will ignore the
  17. % rest of the file. The printer driver module does not currently use
  18. % this file, but the "%/" comment is eventually intended to separate
  19. % encodings that are only of interest to the module from those that
  20. % are of interest to both the module and !PrinterPS itself.
  21.  
  22. % The following chunk of PostScript defines the ISO 8859-1 Latin 1
  23. % mapping of character codes to PostScript character names, plus
  24. % Acorn's extensions to this character encoding. It can be edited if
  25. % necessary to produce other encodings. Note that PostScript character
  26. % names are case-sensitive. Also note that if you add composite
  27. % characters, you must make certain that all their components appear
  28. % somewhere in the encoding vector - if necessary, among the unused
  29. % codes 0-31.
  30.  
  31. /Latin1Enc [
  32. /dotlessi /ring /.notdef /.notdef       % Codes 0-31 (character
  33. /.notdef /.notdef /.notdef /.notdef     %   components required to
  34. /.notdef /.notdef /.notdef /.notdef     %   make all the composite
  35. /.notdef /.notdef /.notdef /.notdef     %   characters work).
  36. /.notdef /.notdef /.notdef /.notdef
  37. /.notdef /.notdef /.notdef /.notdef
  38. /.notdef /.notdef /.notdef /.notdef
  39. /.notdef /.notdef /.notdef /.notdef
  40. /space /exclam /quotedbl /numbersign    % Codes 32-63
  41. /dollar /percent /ampersand /quotesingle
  42. /parenleft /parenright /asterisk /plus
  43. /comma /hyphen /period /slash
  44. /zero /one /two /three
  45. /four /five /six /seven
  46. /eight /nine /colon /semicolon
  47. /less /equal /greater /question
  48. /at /A /B /C                            % Codes 64-95
  49. /D /E /F /G
  50. /H /I /J /K
  51. /L /M /N /O
  52. /P /Q /R /S
  53. /T /U /V /W
  54. /X /Y /Z /bracketleft
  55. /backslash /bracketright /circumflex /underscore
  56. /grave /a /b /c                         % Codes 96-127
  57. /d /e /f /g
  58. /h /i /j /k
  59. /l /m /n /o
  60. /p /q /r /s
  61. /t /u /v /w
  62. /x /y /z /braceleft
  63. /bar /braceright /tilde /.notdef        % NB code 127 is unused
  64. /.notdef /.notdef /.notdef /.notdef     % Codes 128-139 (Wimp characters)
  65. /.notdef /.notdef /.notdef /.notdef
  66. /.notdef /.notdef /.notdef /.notdef
  67. /.notdef /.notdef /.notdef /bullet      % Codes 140-159 (Acorn extensions)
  68. /quoteleft /quoteright /guilsinglleft /guilsinglright
  69. /quotedblleft /quotedblright /quotedblbase /endash
  70. /emdash /minus /OE /oe
  71. /dagger /daggerdbl /fi /fl
  72. /space /exclamdown /cent /sterling      % Codes 160-191
  73. /currency /yen /brokenbar /section
  74. /dieresis /copyright /ordfeminine /guillemotleft
  75. /logicalnot /hyphen /registered /macron
  76. /degree /plusminus /twosuperior /threesuperior
  77. /acute /mu /paragraph /periodcentered
  78. /cedilla /onesuperior /ordmasculine /guillemotright
  79. /onequarter /onehalf /threequarters /questiondown
  80. /Agrave /Aacute /Acircumflex /Atilde    % Codes 192-223
  81. /Adieresis /Aring /AE /Ccedilla
  82. /Egrave /Eacute /Ecircumflex /Edieresis
  83. /Igrave /Iacute /Icircumflex /Idieresis
  84. /Eth /Ntilde /Ograve /Oacute
  85. /Ocircumflex /Otilde /Odieresis /multiply
  86. /Oslash /Ugrave /Uacute /Ucircumflex
  87. /Udieresis /Yacute /Thorn /germandbls
  88. /agrave /aacute /acircumflex /atilde    % Codes 224-255
  89. /adieresis /aring /ae /ccedilla
  90. /egrave /eacute /ecircumflex /edieresis
  91. /igrave /iacute /icircumflex /idieresis
  92. /eth /ntilde /ograve /oacute
  93. /ocircumflex /otilde /odieresis /divide
  94. /oslash /ugrave /uacute /ucircumflex
  95. /udieresis /yacute /thorn /ydieresis
  96. ] def
  97.  
  98. %/ !PrinterPS is not interested in the rest of this file
  99.  
  100. % This is an encoding vector for a font that is a subset of
  101. % ZapfDingbats. It has some permutations from the original ZapfDingbats
  102. % encoding to ensure that a set of convenient varied bullet characters
  103. % are all drawn together in the codes &61 to &6F.
  104. % These permutations are as follows:
  105. %   swap &25 (a4)  with &61 (a60)
  106. %   move &34 (a20) to   &62
  107. %   move &38 (a24) to   &63
  108. %   swap &48 (a35) with &65 (a64)
  109. %   move &5D (a56) to   &66
  110. %   move &70 (a203)to   &67
  111. %   move &71 (a75) to   &68
  112. %   swap &72 (a204)with &69 (a68)
  113. %   move &75 (a78) to   &6A
  114. %   swap &E7 (a177)with &6B (a70)
  115.  
  116. /SelwynEnc [
  117. /.notdef /.notdef /.notdef /.notdef     % Codes 0-31 (character
  118. /.notdef /.notdef /.notdef /.notdef     %   components required to
  119. /.notdef /.notdef /.notdef /.notdef     %   make all the composite
  120. /.notdef /.notdef /.notdef /.notdef     %   characters work).
  121. /.notdef /.notdef /.notdef /.notdef
  122. /.notdef /.notdef /.notdef /.notdef
  123. /.notdef /.notdef /.notdef /.notdef
  124. /.notdef /.notdef /.notdef /.notdef
  125. /space /a1 /a2 /a202                    % Codes 32-63
  126. /a3 /a60 /.notdef /a119
  127. /.notdef /a117 /a11 /a12
  128. /.notdef /a14 /.notdef /.notdef
  129. /.notdef /.notdef /.notdef /a19
  130. /.notdef /a21 /a22 /.notdef
  131. /.notdef /a25 /a26 /a27
  132. /a28 /a6 /a7 /a8
  133. /a9 /a10 /.notdef /.notdef              % Codes 64-95
  134. /.notdef /.notdef /a33 /a34
  135. /a64 /a36 /a37 /.notdef
  136. /a39 /a40 /.notdef /.notdef
  137. /a43 /a44 /.notdef /.notdef
  138. /.notdef /.notdef /.notdef /.notdef
  139. /.notdef /.notdef /.notdef /a54
  140. /a55 /.notdef /a57 /a58
  141. /a59 /a4 /a20 /a24                      % Codes 96-127
  142. /a63 /a35 /a56 /a203
  143. /a75 /a204 /a78 /a177
  144. /a71 /a72 /a73 /a74
  145. /.notdef /.notdef /a68 /a76
  146. /a77 /.notdef /a79 /a81
  147. /a82 /a83 /a84 /.notdef
  148. /.notdef /.notdef /.notdef /.notdef
  149. /.notdef /.notdef /.notdef /.notdef     % Codes 128-159
  150. /.notdef /.notdef /.notdef /.notdef
  151. /.notdef /.notdef /.notdef /.notdef
  152. /.notdef /.notdef /.notdef /.notdef
  153. /.notdef /.notdef /.notdef /.notdef
  154. /.notdef /.notdef /.notdef /.notdef
  155. /.notdef /.notdef /.notdef /.notdef
  156. /.notdef /.notdef /.notdef /.notdef
  157. /.notdef /.notdef /.notdef /.notdef     % Codes 160-191
  158. /.notdef /.notdef /.notdef /.notdef
  159. /a112 /a111 /a110 /a109
  160. /a120 /a121 /a122 /a123
  161. /a124 /a125 /a126 /a127
  162. /a128 /a129 /a130 /a131
  163. /a132 /a133 /a134 /a135
  164. /a136 /a137 /a138 /a139
  165. /.notdef /.notdef /.notdef /.notdef     % Codes 192-223
  166. /.notdef /.notdef /.notdef /.notdef
  167. /.notdef /.notdef /.notdef /.notdef
  168. /.notdef /.notdef /.notdef /.notdef
  169. /.notdef /.notdef /.notdef /.notdef
  170. /.notdef /a161 /a163 /a164
  171. /a196 /a165 /a192 /.notdef
  172. /a167 /.notdef /.notdef /.notdef
  173. /.notdef /.notdef /a173 /a162           % Codes 224-255
  174. /a174 /a175 /a176 /a70
  175. /.notdef /.notdef /.notdef /.notdef
  176. /.notdef /.notdef /.notdef /.notdef
  177. /acorn /.notdef /.notdef /.notdef       % Acorn character not available,
  178. /.notdef /.notdef /.notdef /.notdef     %   so becomes /.notdef
  179. /.notdef /.notdef /.notdef /.notdef
  180. /.notdef /.notdef /.notdef /.notdef
  181. ] def
  182.