Class RangeRecord


  • public class RangeRecord
    extends java.lang.Object
    Coverage Index (GlyphID) = StartCoverageIndex + GlyphID - Start GlyphID
    • Constructor Summary

      Constructors 
      Constructor Description
      RangeRecord​(java.io.RandomAccessFile raf)
      Creates new RangeRecord
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCoverageIndex​(int glyphId)  
      boolean isInRange​(int glyphId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RangeRecord

        public RangeRecord​(java.io.RandomAccessFile raf)
                    throws java.io.IOException
        Creates new RangeRecord
        Throws:
        java.io.IOException
    • Method Detail

      • isInRange

        public boolean isInRange​(int glyphId)
      • getCoverageIndex

        public int getCoverageIndex​(int glyphId)