java.lang.Object
io.sf.carte.echosvg.svggen.font.table.Coverage
- Direct Known Subclasses:
CoverageFormat1
,CoverageFormat2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract int
findGlyph
(int glyphId) abstract int
protected static Coverage
read
(RandomAccessFile raf)
-
Constructor Details
-
Coverage
public Coverage()
-
-
Method Details
-
getFormat
public abstract int getFormat() -
findGlyph
public abstract int findGlyph(int glyphId) - Parameters:
glyphId
- The ID of the glyph to find.- Returns:
- The index of the glyph within the coverage, or -1 if the glyph can't be found.
-
read
- Throws:
IOException
-