public class CidFont extends FontProgram
avgWidth, codeToGlyph, DEFAULT_WIDTH, encodingScheme, fontIdentification, fontMetrics, fontNames, HORIZONTAL_SCALING_FACTOR, isFontSpecific, registry, unicodeToGlyph, UNITS_NORMALIZATION| Modifier and Type | Method and Description |
|---|---|
boolean |
compatibleWith(String cmap) |
int |
getKerning(Glyph glyph1,
Glyph glyph2)
Gets the kerning between two glyphs.
|
int |
getPdfFontFlags() |
boolean |
isBuiltWith(String fontName)
Checks whether the
FontProgram was built with corresponding fontName. |
boolean |
isFontSpecific() |
convertGlyphSpaceToTextSpace, convertGlyphSpaceToTextSpace, convertGlyphSpaceToTextSpace, convertTextSpaceToGlyphSpace, countOfGlyphs, fixSpaceIssue, getAvgWidth, getCharBBox, getFontIdentification, getFontMetrics, getFontNames, getGlyph, getGlyphByCode, getKerning, getRegistry, getWidth, hasKernPairs, setBbox, setBold, setCapHeight, setFixedPitch, setFontFamily, setFontName, setFontStretch, setFontWeight, setItalicAngle, setRegistry, setStemH, setStemV, setTypoAscender, setTypoDescender, setXHeight, toStringpublic boolean compatibleWith(String cmap)
public int getKerning(Glyph glyph1, Glyph glyph2)
FontProgramgetKerning in class FontProgramglyph1 - the first glyphglyph2 - the second glyphpublic int getPdfFontFlags()
getPdfFontFlags in class FontProgrampublic boolean isFontSpecific()
isFontSpecific in class FontProgrampublic boolean isBuiltWith(String fontName)
FontProgramFontProgram was built with corresponding fontName.
Default value is false unless overridden.isBuiltWith in class FontProgramfontName - a font name or path to a font programCopyright © 1998–2023 Apryse Group NV. All rights reserved.