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