public class CidFont extends FontProgram
avgWidth, codeToGlyph, DEFAULT_WIDTH, encodingScheme, fontIdentification, fontMetrics, fontNames, 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() |
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, toString
public boolean compatibleWith(String cmap)
public int getKerning(Glyph glyph1, Glyph glyph2)
FontProgram
getKerning
in class FontProgram
glyph1
- the first glyph
glyph2
- the second glyph
public int getPdfFontFlags()
getPdfFontFlags
in class FontProgram
public boolean isFontSpecific()
isFontSpecific
in class FontProgram
public boolean isBuiltWith(String fontName)
FontProgram
FontProgram
was built with corresponding fontName. Default value is false unless overridden.
isBuiltWith
in class FontProgram
fontName
- a font name or path to a font program
Copyright © 1998–2023 iText Group NV. All rights reserved.