Class OtfReadCommon


  • public class OtfReadCommon
    extends java.lang.Object
    • Constructor Detail

      • OtfReadCommon

        public OtfReadCommon()
    • Method Detail

      • readUShortArray

        public static int[] readUShortArray​(RandomAccessFileOrArray rf,
                                            int size,
                                            int location)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readUShortArray

        public static int[] readUShortArray​(RandomAccessFileOrArray rf,
                                            int size)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readCoverages

        public static void readCoverages​(RandomAccessFileOrArray rf,
                                         int[] locations,
                                         java.util.List<java.util.Set<java.lang.Integer>> coverage)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • readCoverageFormat

        public static java.util.List<java.lang.Integer> readCoverageFormat​(RandomAccessFileOrArray rf,
                                                                           int coverageLocation)
                                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readRangeRecord

        private static void readRangeRecord​(RandomAccessFileOrArray rf,
                                            java.util.List<java.lang.Integer> glyphIds)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readGposAnchor

        public static GposAnchor readGposAnchor​(OpenTypeFontTableReader tableReader,
                                                int location)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • readMarkArray

        public static java.util.List<OtfMarkRecord> readMarkArray​(OpenTypeFontTableReader tableReader,
                                                                  int location)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readAnchorArray

        public static GposAnchor[] readAnchorArray​(OpenTypeFontTableReader tableReader,
                                                   int[] locations,
                                                   int left,
                                                   int right)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • readBaseArray

        public static java.util.List<GposAnchor[]> readBaseArray​(OpenTypeFontTableReader tableReader,
                                                                 int classCount,
                                                                 int location)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • readLigatureArray

        public static java.util.List<java.util.List<GposAnchor[]>> readLigatureArray​(OpenTypeFontTableReader tableReader,
                                                                                     int classCount,
                                                                                     int location)
                                                                              throws java.io.IOException
        Throws:
        java.io.IOException