Home » pdfbox-1.1.0-src » org.apache.fontbox.cff.charset » [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.charset;
   18   
   19   
   20   /**
   21    * This is specialized CFFCharset. It's used if the CharsetId of a font is set to 0.
   22    * 
   23    * @author Villu Ruusmann
   24    * @version $Revision$
   25    */
   26   public class CFFISOAdobeCharset extends CFFCharset
   27   {
   28   
   29       private CFFISOAdobeCharset()
   30       {
   31       }
   32   
   33       /**
   34        * Returns an instance of the CFFExpertSubsetCharset class.
   35        * @return an instance of CFFExpertSubsetCharset
   36        */
   37       public static CFFISOAdobeCharset getInstance()
   38       {
   39           return CFFISOAdobeCharset.INSTANCE;
   40       }
   41   
   42       private static final CFFISOAdobeCharset INSTANCE = new CFFISOAdobeCharset();
   43   
   44       static
   45       {
   46           INSTANCE.register(1, "space");
   47           INSTANCE.register(2, "exclam");
   48           INSTANCE.register(3, "quotedbl");
   49           INSTANCE.register(4, "numbersign");
   50           INSTANCE.register(5, "dollar");
   51           INSTANCE.register(6, "percent");
   52           INSTANCE.register(7, "ampersand");
   53           INSTANCE.register(8, "quoteright");
   54           INSTANCE.register(9, "parenleft");
   55           INSTANCE.register(10, "parenright");
   56           INSTANCE.register(11, "asterisk");
   57           INSTANCE.register(12, "plus");
   58           INSTANCE.register(13, "comma");
   59           INSTANCE.register(14, "hyphen");
   60           INSTANCE.register(15, "period");
   61           INSTANCE.register(16, "slash");
   62           INSTANCE.register(17, "zero");
   63           INSTANCE.register(18, "one");
   64           INSTANCE.register(19, "two");
   65           INSTANCE.register(20, "three");
   66           INSTANCE.register(21, "four");
   67           INSTANCE.register(22, "five");
   68           INSTANCE.register(23, "six");
   69           INSTANCE.register(24, "seven");
   70           INSTANCE.register(25, "eight");
   71           INSTANCE.register(26, "nine");
   72           INSTANCE.register(27, "colon");
   73           INSTANCE.register(28, "semicolon");
   74           INSTANCE.register(29, "less");
   75           INSTANCE.register(30, "equal");
   76           INSTANCE.register(31, "greater");
   77           INSTANCE.register(32, "question");
   78           INSTANCE.register(33, "at");
   79           INSTANCE.register(34, "A");
   80           INSTANCE.register(35, "B");
   81           INSTANCE.register(36, "C");
   82           INSTANCE.register(37, "D");
   83           INSTANCE.register(38, "E");
   84           INSTANCE.register(39, "F");
   85           INSTANCE.register(40, "G");
   86           INSTANCE.register(41, "H");
   87           INSTANCE.register(42, "I");
   88           INSTANCE.register(43, "J");
   89           INSTANCE.register(44, "K");
   90           INSTANCE.register(45, "L");
   91           INSTANCE.register(46, "M");
   92           INSTANCE.register(47, "N");
   93           INSTANCE.register(48, "O");
   94           INSTANCE.register(49, "P");
   95           INSTANCE.register(50, "Q");
   96           INSTANCE.register(51, "R");
   97           INSTANCE.register(52, "S");
   98           INSTANCE.register(53, "T");
   99           INSTANCE.register(54, "U");
  100           INSTANCE.register(55, "V");
  101           INSTANCE.register(56, "W");
  102           INSTANCE.register(57, "X");
  103           INSTANCE.register(58, "Y");
  104           INSTANCE.register(59, "Z");
  105           INSTANCE.register(60, "bracketleft");
  106           INSTANCE.register(61, "backslash");
  107           INSTANCE.register(62, "bracketright");
  108           INSTANCE.register(63, "asciicircum");
  109           INSTANCE.register(64, "underscore");
  110           INSTANCE.register(65, "quoteleft");
  111           INSTANCE.register(66, "a");
  112           INSTANCE.register(67, "b");
  113           INSTANCE.register(68, "c");
  114           INSTANCE.register(69, "d");
  115           INSTANCE.register(70, "e");
  116           INSTANCE.register(71, "f");
  117           INSTANCE.register(72, "g");
  118           INSTANCE.register(73, "h");
  119           INSTANCE.register(74, "i");
  120           INSTANCE.register(75, "j");
  121           INSTANCE.register(76, "k");
  122           INSTANCE.register(77, "l");
  123           INSTANCE.register(78, "m");
  124           INSTANCE.register(79, "n");
  125           INSTANCE.register(80, "o");
  126           INSTANCE.register(81, "p");
  127           INSTANCE.register(82, "q");
  128           INSTANCE.register(83, "r");
  129           INSTANCE.register(84, "s");
  130           INSTANCE.register(85, "t");
  131           INSTANCE.register(86, "u");
  132           INSTANCE.register(87, "v");
  133           INSTANCE.register(88, "w");
  134           INSTANCE.register(89, "x");
  135           INSTANCE.register(90, "y");
  136           INSTANCE.register(91, "z");
  137           INSTANCE.register(92, "braceleft");
  138           INSTANCE.register(93, "bar");
  139           INSTANCE.register(94, "braceright");
  140           INSTANCE.register(95, "asciitilde");
  141           INSTANCE.register(96, "exclamdown");
  142           INSTANCE.register(97, "cent");
  143           INSTANCE.register(98, "sterling");
  144           INSTANCE.register(99, "fraction");
  145           INSTANCE.register(100, "yen");
  146           INSTANCE.register(101, "florin");
  147           INSTANCE.register(102, "section");
  148           INSTANCE.register(103, "currency");
  149           INSTANCE.register(104, "quotesingle");
  150           INSTANCE.register(105, "quotedblleft");
  151           INSTANCE.register(106, "guillemotleft");
  152           INSTANCE.register(107, "guilsinglleft");
  153           INSTANCE.register(108, "guilsinglright");
  154           INSTANCE.register(109, "fi");
  155           INSTANCE.register(110, "fl");
  156           INSTANCE.register(111, "endash");
  157           INSTANCE.register(112, "dagger");
  158           INSTANCE.register(113, "daggerdbl");
  159           INSTANCE.register(114, "periodcentered");
  160           INSTANCE.register(115, "paragraph");
  161           INSTANCE.register(116, "bullet");
  162           INSTANCE.register(117, "quotesinglbase");
  163           INSTANCE.register(118, "quotedblbase");
  164           INSTANCE.register(119, "quotedblright");
  165           INSTANCE.register(120, "guillemotright");
  166           INSTANCE.register(121, "ellipsis");
  167           INSTANCE.register(122, "perthousand");
  168           INSTANCE.register(123, "questiondown");
  169           INSTANCE.register(124, "grave");
  170           INSTANCE.register(125, "acute");
  171           INSTANCE.register(126, "circumflex");
  172           INSTANCE.register(127, "tilde");
  173           INSTANCE.register(128, "macron");
  174           INSTANCE.register(129, "breve");
  175           INSTANCE.register(130, "dotaccent");
  176           INSTANCE.register(131, "dieresis");
  177           INSTANCE.register(132, "ring");
  178           INSTANCE.register(133, "cedilla");
  179           INSTANCE.register(134, "hungarumlaut");
  180           INSTANCE.register(135, "ogonek");
  181           INSTANCE.register(136, "caron");
  182           INSTANCE.register(137, "emdash");
  183           INSTANCE.register(138, "AE");
  184           INSTANCE.register(139, "ordfeminine");
  185           INSTANCE.register(140, "Lslash");
  186           INSTANCE.register(141, "Oslash");
  187           INSTANCE.register(142, "OE");
  188           INSTANCE.register(143, "ordmasculine");
  189           INSTANCE.register(144, "ae");
  190           INSTANCE.register(145, "dotlessi");
  191           INSTANCE.register(146, "lslash");
  192           INSTANCE.register(147, "oslash");
  193           INSTANCE.register(148, "oe");
  194           INSTANCE.register(149, "germandbls");
  195           INSTANCE.register(150, "onesuperior");
  196           INSTANCE.register(151, "logicalnot");
  197           INSTANCE.register(152, "mu");
  198           INSTANCE.register(153, "trademark");
  199           INSTANCE.register(154, "Eth");
  200           INSTANCE.register(155, "onehalf");
  201           INSTANCE.register(156, "plusminus");
  202           INSTANCE.register(157, "Thorn");
  203           INSTANCE.register(158, "onequarter");
  204           INSTANCE.register(159, "divide");
  205           INSTANCE.register(160, "brokenbar");
  206           INSTANCE.register(161, "degree");
  207           INSTANCE.register(162, "thorn");
  208           INSTANCE.register(163, "threequarters");
  209           INSTANCE.register(164, "twosuperior");
  210           INSTANCE.register(165, "registered");
  211           INSTANCE.register(166, "minus");
  212           INSTANCE.register(167, "eth");
  213           INSTANCE.register(168, "multiply");
  214           INSTANCE.register(169, "threesuperior");
  215           INSTANCE.register(170, "copyright");
  216           INSTANCE.register(171, "Aacute");
  217           INSTANCE.register(172, "Acircumflex");
  218           INSTANCE.register(173, "Adieresis");
  219           INSTANCE.register(174, "Agrave");
  220           INSTANCE.register(175, "Aring");
  221           INSTANCE.register(176, "Atilde");
  222           INSTANCE.register(177, "Ccedilla");
  223           INSTANCE.register(178, "Eacute");
  224           INSTANCE.register(179, "Ecircumflex");
  225           INSTANCE.register(180, "Edieresis");
  226           INSTANCE.register(181, "Egrave");
  227           INSTANCE.register(182, "Iacute");
  228           INSTANCE.register(183, "Icircumflex");
  229           INSTANCE.register(184, "Idieresis");
  230           INSTANCE.register(185, "Igrave");
  231           INSTANCE.register(186, "Ntilde");
  232           INSTANCE.register(187, "Oacute");
  233           INSTANCE.register(188, "Ocircumflex");
  234           INSTANCE.register(189, "Odieresis");
  235           INSTANCE.register(190, "Ograve");
  236           INSTANCE.register(191, "Otilde");
  237           INSTANCE.register(192, "Scaron");
  238           INSTANCE.register(193, "Uacute");
  239           INSTANCE.register(194, "Ucircumflex");
  240           INSTANCE.register(195, "Udieresis");
  241           INSTANCE.register(196, "Ugrave");
  242           INSTANCE.register(197, "Yacute");
  243           INSTANCE.register(198, "Ydieresis");
  244           INSTANCE.register(199, "Zcaron");
  245           INSTANCE.register(200, "aacute");
  246           INSTANCE.register(201, "acircumflex");
  247           INSTANCE.register(202, "adieresis");
  248           INSTANCE.register(203, "agrave");
  249           INSTANCE.register(204, "aring");
  250           INSTANCE.register(205, "atilde");
  251           INSTANCE.register(206, "ccedilla");
  252           INSTANCE.register(207, "eacute");
  253           INSTANCE.register(208, "ecircumflex");
  254           INSTANCE.register(209, "edieresis");
  255           INSTANCE.register(210, "egrave");
  256           INSTANCE.register(211, "iacute");
  257           INSTANCE.register(212, "icircumflex");
  258           INSTANCE.register(213, "idieresis");
  259           INSTANCE.register(214, "igrave");
  260           INSTANCE.register(215, "ntilde");
  261           INSTANCE.register(216, "oacute");
  262           INSTANCE.register(217, "ocircumflex");
  263           INSTANCE.register(218, "odieresis");
  264           INSTANCE.register(219, "ograve");
  265           INSTANCE.register(220, "otilde");
  266           INSTANCE.register(221, "scaron");
  267           INSTANCE.register(222, "uacute");
  268           INSTANCE.register(223, "ucircumflex");
  269           INSTANCE.register(224, "udieresis");
  270           INSTANCE.register(225, "ugrave");
  271           INSTANCE.register(226, "yacute");
  272           INSTANCE.register(227, "ydieresis");
  273           INSTANCE.register(228, "zcaron");
  274       }
  275   }

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