Class CIDFontType0


public class CIDFontType0 extends BuiltinFont
At the moment this is not fully supported to parse CID based fonts As a hack we try to use a built in font as substitution and use a toUnicode map to translate the characters if available.
Since:
03.08.2011
Version:
$Id: CIDFontType0.java,v 1.1 2011-08-03 15:48:56 bros Exp $
  • Field Details

    • glyphLookupMap

      private PDFCMap glyphLookupMap
  • Constructor Details

  • Method Details

    • parseToUnicodeMap

      public void parseToUnicodeMap(PDFObject fontObj) throws IOException
      Parameters:
      fontObj -
      Throws:
      IOException
    • getGlyph

      protected PDFGlyph getGlyph(char src, String name)
      Get a character from the first font in the descendant fonts array
      Overrides:
      getGlyph in class OutlineFont
      Parameters:
      src - the character code of this glyph
      name - the name of this glyph or null if unknown
      Returns:
      a glyph for this character