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.

PCLSymbolSet.java 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. /* $Id$ */
  18. package org.apache.fop.render.pcl.fonts;
  19. /**
  20. * Table C-1 from http://www.lprng.com/DISTRIB/RESOURCES/DOCS/pcl5comp.pdf
  21. */
  22. public enum PCLSymbolSet {
  23. // Unbound font containing > 256 characters
  24. Unbound("1X", 56),
  25. // Other symbol sets to use in bound fonts
  26. Bound_Generic("0Q", 17),
  27. GW_3212("18C", 597),
  28. ISO_60_Danish_Norwegian("0D", 4),
  29. Devanagari("2D", 68),
  30. ISO_4_United_Kingdom("1E", 37),
  31. Windows_3_1_Latin2("9E", 293),
  32. ISO_69_French("1F", 38),
  33. ISO_21_German("1G", 39),
  34. Greek_8("8G", 283),
  35. Windows_3_1_Latin_Greek("9G", 295),
  36. PC_851_Latin_Greek("10G", 327),
  37. PC_8_Latin_Greek("12G", 391),
  38. Hebrew_7("0H", 8),
  39. ISO_8859_8_Latin_Hebrew("7H", 232),
  40. Hebrew_8("8H", 264),
  41. PC_862_Latin_Hebrew("15H", 488),
  42. ISO_15_Italian("0I", 9),
  43. Microsoft_Publishing("6J", 202),
  44. DeskTop("7J", 234),
  45. Document("8J", 266),
  46. PC_1004("9J", 298),
  47. PS_Text("10J", 330),
  48. PS_ISO_Latin1("11J", 362),
  49. MC_Text("12J", 394),
  50. Ventura_International3("13J", 426),
  51. Ventura_US3("14J", 458),
  52. Swash_Characters("16J", 522),
  53. Small_Caps_Old_Style_Figures("17J", 554),
  54. Old_Style_Figures("18J", 586),
  55. Fractions("19J", 618),
  56. Lining_Figures("21J", 682),
  57. Small_Caps_and_Lining_Figures("22J", 714),
  58. Alternate_Caps("23J", 746),
  59. Kana_8_JIS_210("8K", 267),
  60. Korean_8("9K", 299),
  61. Line_Draw_7("0L", 12),
  62. HP_Block_Characters("1L", 44),
  63. Tax_Line_Draw("2L", 76),
  64. Line_Draw_8("8L", 268),
  65. Ventura_ITC_Zapf_Dingbats3("9L", 300),
  66. PS_ITC_Zapf_Dingbats("10L", 332),
  67. ITC_Zapf_Dingbats_Series_100("11L", 364),
  68. ITC_Zapf_Dingbats_Series_200("12L", 396),
  69. ITC_Zapf_Dingbats_Series_300("13L", 428),
  70. Windows_Baltic("19L", 620),
  71. Carta("20L", 652),
  72. Ornaments("21L", 684),
  73. Universal_News_Commercial_Pi("22L", 716),
  74. Chess("23L", 748),
  75. Astrology_1("24L", 780),
  76. Pi_Set_1("31L", 1004),
  77. Pi_Set_2("32L", 1036),
  78. Pi_Set_3("33L", 1068),
  79. Pi_Set_4("34L", 1100),
  80. Pi_Set_5("35L", 1132),
  81. Pi_Set_6("36L", 1164),
  82. Wingdings("579L", 18540),
  83. Math_7("0M", 13),
  84. Tech_7("1M", 45),
  85. PS_Math("5M", 173),
  86. Ventura_Math3("6M", 205),
  87. Math_8("8M", 269),
  88. Universal_Greek_Math_Pi("10M", 333),
  89. TeX_Math_Extension("11M", 365),
  90. TeX_Math_Symbol("12M", 397),
  91. TeX_Math_Italic("13M", 429),
  92. Symbol("19M", 621),
  93. ISO_8859_1_Latin_1("0N", 14),
  94. ISO_8859_2_Latin_2("2N", 78),
  95. ISO_8859_3_Latin_3("3N", 110),
  96. ISO_8859_4_Latin_4("4N", 142),
  97. ISO_8859_9_Latin_5("5N", 174),
  98. ISO_8859_10_Latin_6("6N", 206),
  99. ISO_8859_5_Latin_Cyrillic("10N", 334),
  100. ISO_8859_6_Latin_Arabic("11N", 366),
  101. ISO_8859_7_Latin_Greek("12N", 398),
  102. OCR_A("0O", 15),
  103. OCR_B("1O", 47),
  104. OCR_M("2O", 79),
  105. MICR_E13B("10O", 335),
  106. Typewriter_Paired_APL("0P", 16),
  107. Bit_Paired_APL("1P", 48),
  108. Expert("10P", 336),
  109. Alternate("11P", 368),
  110. Fraktur("12P", 400),
  111. Cyrillic_ASCII_8859_5_1986("0R", 18),
  112. Cyrillic("1R", 50),
  113. PC_Cyrillic("3R", 114),
  114. Windows_3_1_Latin_Cyrillic("9R", 306),
  115. ISO_11_Swedish("0S", 19),
  116. ISO_17_Spanish3("2S", 83),
  117. HP_European_Spanish("7S", 243),
  118. HP_Latin_Spanish("8S", 275),
  119. HP_GL_Download("16S", 531),
  120. HP_GL_Drafting("17S", 563),
  121. HP_GL_Special_Symbols("18S", 595),
  122. Sonata("20S", 659),
  123. Thai_8("0T", 20),
  124. TISI_620_2533_Thai("1T", 52),
  125. Windows_3_1_Latin_5("5T", 180),
  126. Turkish_8("8T", 276),
  127. PC_8_Turkish("9T", 308),
  128. Teletex("10T", 340),
  129. ISO_6_ASCII("0U", 21),
  130. Legal("1U", 53),
  131. HPL("5U", 181),
  132. OEM_1("7U", 245),
  133. Roman_8("8U", 277),
  134. Windows_3_0_Latin_1("9U", 309),
  135. PC_8_Code_Page_437("10U", 341),
  136. PC_8_D_N_Danish_Norwegian("11U", 373),
  137. PC_850_Multilingual("12U", 405),
  138. Pi_Font("15U", 501),
  139. PC_857("16U", 533),
  140. PC_852_Latin_2("17U", 565),
  141. Windows_3_1_Latin_1("19U", 629),
  142. PC_860_Portugal("20U", 661),
  143. PC_861_Iceland("21U", 693),
  144. PC_863_Canada_French("23U", 757),
  145. PC_865_Norway("25U", 821),
  146. PC_775("26U", 853),
  147. Arabic_8("8V", 278),
  148. Windows_3_1_Latin_Arabic("9V", 310),
  149. Code_Page_864_Latin_Arabic("10V", 342),
  150. Barcode_3of9("0Y", 25),
  151. Industrial_2_of_5_Barcode("1Y", 57),
  152. Matrix_2_of_5_Barcode("2Y", 89),
  153. Interleaved_2_of_5_Barcode("4Y", 153),
  154. CODABAR_Barcode("5Y", 185),
  155. MSI_Plessey_Barcode("6Y", 217),
  156. Code_11_Barcode("7Y", 249),
  157. UPC_EAN_Barcode("8Y", 281),
  158. MICR_CMC_7("14Y", 473),
  159. USPS_ZIP("5Y", 505),
  160. Math_7_2("0A", 1),
  161. Line_Draw_7_2("0B", 2),
  162. HP_Large_Characters("0C", 3),
  163. ISO_61_Norwegian_Version_2("1D", 36),
  164. Roman_Extension("0E", 5),
  165. ISO_25_French("0F", 6),
  166. HP_German("0G", 7),
  167. ISO_14_JIS_ASCII("0K", 11),
  168. ISO_13_Katakana("1K", 43),
  169. ISO_57_Chinese("2K", 75),
  170. HP_Spanish("1S", 51),
  171. ISO_10_Swedish("3S", 115),
  172. ISO_16_Portuguese("4S", 147),
  173. ISO_84_Portuguese("5S", 179),
  174. ISO_85_Spanish("6S", 211),
  175. ISO_2_International_Reference("2U", 85),
  176. Arabic("0V", 22);
  177. private String symbolSetID;
  178. private int kind1;
  179. PCLSymbolSet(String symbolSetID, int kind1) {
  180. this.kind1 = kind1;
  181. }
  182. public String getSymbolSetID() {
  183. return symbolSetID;
  184. }
  185. public int getKind1() {
  186. return kind1;
  187. }
  188. }