You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.6 KiB

1 month ago
  1. % Copyright (C) 2001-2023 Artifex Software, Inc.
  2. % All Rights Reserved.
  3. %
  4. % This software is provided AS-IS with no warranty, either express or
  5. % implied.
  6. %
  7. % This software is distributed under license and may not be copied,
  8. % modified or distributed except as expressly authorized under the terms
  9. % of the license contained in the file LICENSE in this distribution.
  10. %
  11. % Refer to licensing information at http://www.artifex.com or contact
  12. % Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco,
  13. % CA 94129, USA, for further information.
  14. %
  15. % Define the ISO Latin-2 (8859-2) encoding vector.
  16. % The original version of this encoding vector used Unicode names, rather
  17. % than Adobe names, for many characters. Here are the names that appeared
  18. % in the original version:
  19. % \047 /quoteright /apostrophe
  20. % \056 /period /fullstop
  21. % \137 /underscore /lowline
  22. % \140 /quoteleft /grave
  23. % \055 is /hyphen in StandardEncoding, but /minus in 8859-1; we follow
  24. % 8859-1 here. In addition, the following substitutions were made:
  25. % /Lstroke => /Lslash
  26. % /Dstroke => /Dcroat
  27. % /*diaeresis => /*dieresis
  28. % /softhyphen => /hyphen
  29. % /*abovedot => /*dotaccent
  30. % /*doubleacute => /*hungarumlaut
  31. % /division => /divide
  32. % /ssharp => /germandbls
  33. /currentglobal where
  34. { pop currentglobal { setglobal } true setglobal }
  35. { { } }
  36. ifelse
  37. /ISOLatin2Encoding
  38. % The first 144 entries are the same as the ISO Latin-1 encoding.
  39. ISOLatin1Encoding 0 144 getinterval aload pop
  40. % \22x
  41. /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
  42. /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
  43. % \24x
  44. /nbspace /Aogonek /breve /Lslash /currency /Lcaron /Sacute /section
  45. /dieresis /Scaron /Scedilla /Tcaron /Zacute /hyphen /Zcaron /Zdotaccent
  46. /degree /aogonek /ogonek /lslash /acute /lcaron /sacute /caron
  47. /cedilla /scaron /scedilla /tcaron /zacute /hungarumlaut /zcaron /zdotaccent
  48. % \30x
  49. /Racute /Aacute /Acircumflex /Abreve /Adieresis /Lacute /Cacute /Ccedilla
  50. /Ccaron /Eacute /Eogonek /Edieresis /Ecaron /Iacute /Icircumflex /Dcaron
  51. /Dcroat /Nacute /Ncaron /Oacute /Ocircumflex /Ohungarumlaut /Odieresis /multiply
  52. /Rcaron /Uring /Uacute /Uhungarumlaut /Udieresis /Yacute /Tcedilla /germandbls
  53. % \34x
  54. /racute /aacute /acircumflex /abreve /adieresis /lacute /cacute /ccedilla
  55. /ccaron /eacute /eogonek /edieresis /ecaron /iacute /icircumflex /dcaron
  56. /dcroat /nacute /ncaron /oacute /ocircumflex /ohungarumlaut /odieresis /divide
  57. /rcaron /uring /uacute /uhungarumlaut /udieresis /yacute /tcedilla /dotaccent
  58. 256 packedarray .defineencoding
  59. exec