Save This Page
Home » pdfbox-1.1.0-src » org.apache.fontbox.cff » [javadoc | source]
    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   package org.apache.fontbox.cff;
   18   
   19   /**
   20    * This class represents a standard SID to String mapping.
   21    * @author Villu Ruusmann
   22    * @version $Revision: 1.0 $
   23    */
   24   public class CFFStandardString 
   25   {
   26   
   27       private CFFStandardString()
   28       {
   29       }
   30   
   31       /**
   32        * This will return the string mapped to the given SID. 
   33        * @param sid the given SID
   34        * @return the mapped string
   35        */
   36       public static String getName(int sid)
   37       {
   38           return SID2STR[sid];
   39       }
   40   
   41       private static final String[] SID2STR = 
   42       {
   43           ".notdef",
   44           "space",
   45           "exclam",
   46           "quotedbl",
   47           "numbersign",
   48           "dollar",
   49           "percent",
   50           "ampersand",
   51           "quoteright",
   52           "parenleft",
   53           "parenright",
   54           "asterisk",
   55           "plus",
   56           "comma",
   57           "hyphen",
   58           "period",
   59           "slash",
   60           "zero",
   61           "one",
   62           "two",
   63           "three",
   64           "four",
   65           "five",
   66           "six",
   67           "seven",
   68           "eight",
   69           "nine",
   70           "colon",
   71           "semicolon",
   72           "less",
   73           "equal",
   74           "greater",
   75           "question",
   76           "at",
   77           "A",
   78           "B",
   79           "C",
   80           "D",
   81           "E",
   82           "F",
   83           "G",
   84           "H",
   85           "I",
   86           "J",
   87           "K",
   88           "L",
   89           "M",
   90           "N",
   91           "O",
   92           "P",
   93           "Q",
   94           "R",
   95           "S",
   96           "T",
   97           "U",
   98           "V",
   99           "W",
  100           "X",
  101           "Y",
  102           "Z",
  103           "bracketleft",
  104           "backslash",
  105           "bracketright",
  106           "asciicircum",
  107           "underscore",
  108           "quoteleft",
  109           "a",
  110           "b",
  111           "c",
  112           "d",
  113           "e",
  114           "f",
  115           "g",
  116           "h",
  117           "i",
  118           "j",
  119           "k",
  120           "l",
  121           "m",
  122           "n",
  123           "o",
  124           "p",
  125           "q",
  126           "r",
  127           "s",
  128           "t",
  129           "u",
  130           "v",
  131           "w",
  132           "x",
  133           "y",
  134           "z",
  135           "braceleft",
  136           "bar",
  137           "braceright",
  138           "asciitilde",
  139           "exclamdown",
  140           "cent",
  141           "sterling",
  142           "fraction",
  143           "yen",
  144           "florin",
  145           "section",
  146           "currency",
  147           "quotesingle",
  148           "quotedblleft",
  149           "guillemotleft",
  150           "guilsinglleft",
  151           "guilsinglright",
  152           "fi",
  153           "fl",
  154           "endash",
  155           "dagger",
  156           "daggerdbl",
  157           "periodcentered",
  158           "paragraph",
  159           "bullet",
  160           "quotesinglbase",
  161           "quotedblbase",
  162           "quotedblright",
  163           "guillemotright",
  164           "ellipsis",
  165           "perthousand",
  166           "questiondown",
  167           "grave",
  168           "acute",
  169           "circumflex",
  170           "tilde",
  171           "macron",
  172           "breve",
  173           "dotaccent",
  174           "dieresis",
  175           "ring",
  176           "cedilla",
  177           "hungarumlaut",
  178           "ogonek",
  179           "caron",
  180           "emdash",
  181           "AE",
  182           "ordfeminine",
  183           "Lslash",
  184           "Oslash",
  185           "OE",
  186           "ordmasculine",
  187           "ae",
  188           "dotlessi",
  189           "lslash",
  190           "oslash",
  191           "oe",
  192           "germandbls",
  193           "onesuperior",
  194           "logicalnot",
  195           "mu",
  196           "trademark",
  197           "Eth",
  198           "onehalf",
  199           "plusminus",
  200           "Thorn",
  201           "onequarter",
  202           "divide",
  203           "brokenbar",
  204           "degree",
  205           "thorn",
  206           "threequarters",
  207           "twosuperior",
  208           "registered",
  209           "minus",
  210           "eth",
  211           "multiply",
  212           "threesuperior",
  213           "copyright",
  214           "Aacute",
  215           "Acircumflex",
  216           "Adieresis",
  217           "Agrave",
  218           "Aring",
  219           "Atilde",
  220           "Ccedilla",
  221           "Eacute",
  222           "Ecircumflex",
  223           "Edieresis",
  224           "Egrave",
  225           "Iacute",
  226           "Icircumflex",
  227           "Idieresis",
  228           "Igrave",
  229           "Ntilde",
  230           "Oacute",
  231           "Ocircumflex",
  232           "Odieresis",
  233           "Ograve",
  234           "Otilde",
  235           "Scaron",
  236           "Uacute",
  237           "Ucircumflex",
  238           "Udieresis",
  239           "Ugrave",
  240           "Yacute",
  241           "Ydieresis",
  242           "Zcaron",
  243           "aacute",
  244           "acircumflex",
  245           "adieresis",
  246           "agrave",
  247           "aring",
  248           "atilde",
  249           "ccedilla",
  250           "eacute",
  251           "ecircumflex",
  252           "edieresis",
  253           "egrave",
  254           "iacute",
  255           "icircumflex",
  256           "idieresis",
  257           "igrave",
  258           "ntilde",
  259           "oacute",
  260           "ocircumflex",
  261           "odieresis",
  262           "ograve",
  263           "otilde",
  264           "scaron",
  265           "uacute",
  266           "ucircumflex",
  267           "udieresis",
  268           "ugrave",
  269           "yacute",
  270           "ydieresis",
  271           "zcaron",
  272           "exclamsmall",
  273           "Hungarumlautsmall",
  274           "dollaroldstyle",
  275           "dollarsuperior",
  276           "ampersandsmall",
  277           "Acutesmall",
  278           "parenleftsuperior",
  279           "parenrightsuperior",
  280           "twodotenleader",
  281           "onedotenleader",
  282           "zerooldstyle",
  283           "oneoldstyle",
  284           "twooldstyle",
  285           "threeoldstyle",
  286           "fouroldstyle",
  287           "fiveoldstyle",
  288           "sixoldstyle",
  289           "sevenoldstyle",
  290           "eightoldstyle",
  291           "nineoldstyle",
  292           "commasuperior",
  293           "threequartersemdash",
  294           "periodsuperior",
  295           "questionsmall",
  296           "asuperior",
  297           "bsuperior",
  298           "centsuperior",
  299           "dsuperior",
  300           "esuperior",
  301           "isuperior",
  302           "lsuperior",
  303           "msuperior",
  304           "nsuperior",
  305           "osuperior",
  306           "rsuperior",
  307           "ssuperior",
  308           "tsuperior",
  309           "ff",
  310           "ffi",
  311           "ffl",
  312           "parenleftinferior",
  313           "parenrightinferior",
  314           "Circumflexsmall",
  315           "hyphensuperior",
  316           "Gravesmall",
  317           "Asmall",
  318           "Bsmall",
  319           "Csmall",
  320           "Dsmall",
  321           "Esmall",
  322           "Fsmall",
  323           "Gsmall",
  324           "Hsmall",
  325           "Ismall",
  326           "Jsmall",
  327           "Ksmall",
  328           "Lsmall",
  329           "Msmall",
  330           "Nsmall",
  331           "Osmall",
  332           "Psmall",
  333           "Qsmall",
  334           "Rsmall",
  335           "Ssmall",
  336           "Tsmall",
  337           "Usmall",
  338           "Vsmall",
  339           "Wsmall",
  340           "Xsmall",
  341           "Ysmall",
  342           "Zsmall",
  343           "colonmonetary",
  344           "onefitted",
  345           "rupiah",
  346           "Tildesmall",
  347           "exclamdownsmall",
  348           "centoldstyle",
  349           "Lslashsmall",
  350           "Scaronsmall",
  351           "Zcaronsmall",
  352           "Dieresissmall",
  353           "Brevesmall",
  354           "Caronsmall",
  355           "Dotaccentsmall",
  356           "Macronsmall",
  357           "figuredash",
  358           "hypheninferior",
  359           "Ogoneksmall",
  360           "Ringsmall",
  361           "Cedillasmall",
  362           "questiondownsmall",
  363           "oneeighth",
  364           "threeeighths",
  365           "fiveeighths",
  366           "seveneighths",
  367           "onethird",
  368           "twothirds",
  369           "zerosuperior",
  370           "foursuperior",
  371           "fivesuperior",
  372           "sixsuperior",
  373           "sevensuperior",
  374           "eightsuperior",
  375           "ninesuperior",
  376           "zeroinferior",
  377           "oneinferior",
  378           "twoinferior",
  379           "threeinferior",
  380           "fourinferior",
  381           "fiveinferior",
  382           "sixinferior",
  383           "seveninferior",
  384           "eightinferior",
  385           "nineinferior",
  386           "centinferior",
  387           "dollarinferior",
  388           "periodinferior",
  389           "commainferior",
  390           "Agravesmall",
  391           "Aacutesmall",
  392           "Acircumflexsmall",
  393           "Atildesmall",
  394           "Adieresissmall",
  395           "Aringsmall",
  396           "AEsmall",
  397           "Ccedillasmall",
  398           "Egravesmall",
  399           "Eacutesmall",
  400           "Ecircumflexsmall",
  401           "Edieresissmall",
  402           "Igravesmall",
  403           "Iacutesmall",
  404           "Icircumflexsmall",
  405           "Idieresissmall",
  406           "Ethsmall",
  407           "Ntildesmall",
  408           "Ogravesmall",
  409           "Oacutesmall",
  410           "Ocircumflexsmall",
  411           "Otildesmall",
  412           "Odieresissmall",
  413           "OEsmall",
  414           "Oslashsmall",
  415           "Ugravesmall",
  416           "Uacutesmall",
  417           "Ucircumflexsmall",
  418           "Udieresissmall",
  419           "Yacutesmall",
  420           "Thornsmall",
  421           "Ydieresissmall",
  422           "001.000",
  423           "001.001",
  424           "001.002",
  425           "001.003",
  426           "Black",
  427           "Bold",
  428           "Book",
  429           "Light",
  430           "Medium",
  431           "Regular",
  432           "Roman",
  433           "Semibold",
  434       };
  435   }

Save This Page
Home » pdfbox-1.1.0-src » org.apache.fontbox.cff » [javadoc | source]