Class CFFCIDFont

  • All Implemented Interfaces:
    FontBoxFont

    public class CFFCIDFont
    extends CFFFont
    A Type 0 CIDFont represented in a CFF file. Thread safe.
    • Constructor Detail

      • CFFCIDFont

        public CFFCIDFont()
    • Method Detail

      • getRegistry

        public String getRegistry()
        Returns the registry value. * @return the registry
      • getOrdering

        public String getOrdering()
        Returns the ordering value.
        Returns:
        the ordering
      • getSupplement

        public int getSupplement()
        Returns the supplement value.
        Returns:
        the supplement
      • getFontDicts

        public List<Map<String,Object>> getFontDicts()
        Returns the font dictionaries.
        Returns:
        the fontDict
      • getPrivDicts

        public List<Map<String,Object>> getPrivDicts()
        Returns the private dictionary.
        Returns:
        the privDict
      • getFdSelect

        public FDSelect getFdSelect()
        Returns the fdSelect value.
        Returns:
        the fdSelect
      • getPath

        public android.graphics.Path getPath​(String selector)
                                      throws IOException
        Description copied from interface: FontBoxFont
        Returns the path for the character with the given name.
        Returns:
        glyph path
        Throws:
        IOException - if the path could not be read
      • getWidth

        public float getWidth​(String selector)
                       throws IOException
        Description copied from interface: FontBoxFont
        Returns the advance width for the character with the given name.
        Returns:
        glyph advance width
        Throws:
        IOException - if the path could not be read
      • hasGlyph

        public boolean hasGlyph​(String selector)
                         throws IOException
        Description copied from interface: FontBoxFont
        Returns true if the font contains the given glyph.
        Parameters:
        selector - PostScript glyph name
        Throws:
        IOException