Class OTFFile

    • Field Detail

      • fileFont

        protected org.apache.fontbox.cff.CFFFont fileFont
    • Constructor Detail

      • OTFFile

        public OTFFile()
                throws java.io.IOException
        Throws:
        java.io.IOException
      • OTFFile

        public OTFFile​(boolean useKerning,
                       boolean useAdvanced)
                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • updateBBoxAndOffset

        protected void updateBBoxAndOffset()
                                    throws java.io.IOException
        Specified by:
        updateBBoxAndOffset in class OpenFont
        Throws:
        java.io.IOException
      • readName

        protected void readName()
                         throws java.io.IOException
        Specified by:
        readName in class OpenFont
        Throws:
        java.io.IOException
      • getCFFData

        public static byte[] getCFFData​(FontFileReader fontFile)
                                 throws java.io.IOException
        Reads the CFFData from a given font file
        Parameters:
        fontFile - The font file being read
        Returns:
        The byte data found in the CFF table
        Throws:
        java.io.IOException
      • isType1

        public boolean isType1()