Package org.apache.fop.fonts
Class CMapSegment
- java.lang.Object
-
- org.apache.fop.fonts.CMapSegment
-
public final class CMapSegment extends java.lang.ObjectA segment in a cmap table of format 4. Unicode code points betweengetUnicodeStart()andgetUnicodeEnd()map to contiguous glyph indices starting fromgetGlyphStartIndex().
-
-
Constructor Summary
Constructors Constructor Description CMapSegment(int unicodeStart, int unicodeEnd, int glyphStartIndex)Creates a new segment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetGlyphStartIndex()Returns the glyphStartIndex.intgetUnicodeEnd()Returns the unicodeEnd.intgetUnicodeStart()Returns the unicodeStart.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
getUnicodeStart
public int getUnicodeStart()
Returns the unicodeStart.- Returns:
- the Unicode start index
-
getUnicodeEnd
public int getUnicodeEnd()
Returns the unicodeEnd.- Returns:
- the Unicode end index
-
getGlyphStartIndex
public int getGlyphStartIndex()
Returns the glyphStartIndex.- Returns:
- the glyph start index
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-