Class UnicodeCmap
- java.lang.Object
-
- com.adobe.fontengine.font.postscript.UnicodeCmap
-
public final class UnicodeCmap extends java.lang.ObjectA UnicodeCmap is the equivalent, in the PostScript world, of an OpenType 'cmap' table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnicodeCmap.GlyphCidAccessor
-
Constructor Summary
Constructors Constructor Description UnicodeCmap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnicodeCmapcomputeCmapFromCids(int numGlyphs, UnicodeCmap.GlyphCidAccessor cids, java.lang.String registry, java.lang.String ordering)static UnicodeCmapcomputeCmapFromGlyphNames(int numGlyphs, boolean isDingbat, GlyphNamesAccessor names)intgetFirstSupportedChar()intgetGlyphForChar(int usv)intgetLastSupportedChar()
-
-
-
Method Detail
-
getGlyphForChar
public int getGlyphForChar(int usv) throws InvalidFontException, UnsupportedFontException
-
getFirstSupportedChar
public int getFirstSupportedChar()
-
getLastSupportedChar
public int getLastSupportedChar()
-
computeCmapFromGlyphNames
public static UnicodeCmap computeCmapFromGlyphNames(int numGlyphs, boolean isDingbat, GlyphNamesAccessor names) throws InvalidFontException, UnsupportedFontException
-
computeCmapFromCids
public static UnicodeCmap computeCmapFromCids(int numGlyphs, UnicodeCmap.GlyphCidAccessor cids, java.lang.String registry, java.lang.String ordering) throws InvalidFontException, UnsupportedFontException
-
-