public class PBGlyph extends GenericModelObject implements Glyph
| Modifier and Type | Field and Description |
|---|---|
static String |
GLYPH_TYPE |
contextDependent| Constructor and Description |
|---|
PBGlyph(Boolean glyphPresent,
Boolean widthsConsistent,
PDFont font,
int glyphCode,
int renderingMode) |
PBGlyph(Boolean glyphPresent,
Boolean widthsConsistent,
PDFont font,
int glyphCode,
String type,
int renderingMode) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getactualTextPresent()
true if an ActualText entry is present for this glyph
|
String |
getID() |
Boolean |
getisGlyphPresent()
true if glyph is present in the font program
|
Boolean |
getisWidthConsistent()
true if the width of the glyph in the embedded font program is consistent with the width specified in the Font dictionary
|
String |
getname()
glyph name, or empty string if the glyph is not identified by the name (as in case of CID fonts)
|
Long |
getrenderingMode()
value of the rendering mode at the moment the glyph is shown
|
String |
gettoUnicode()
unicode value of the glyph
|
Boolean |
getunicodePUA()
true if toUnicode value contains codes from Unicode Private Use Area
|
getContext, getExtraContext, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getExtraContext, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String GLYPH_TYPE
public PBGlyph(Boolean glyphPresent, Boolean widthsConsistent, PDFont font, int glyphCode, int renderingMode)
public String getname()
Glyphpublic Boolean getisGlyphPresent()
GlyphgetisGlyphPresent in interface Glyphpublic String gettoUnicode()
GlyphgettoUnicode in interface Glyphpublic Long getrenderingMode()
GlyphgetrenderingMode in interface Glyphpublic Boolean getisWidthConsistent()
GlyphgetisWidthConsistent in interface Glyphpublic String getID()
getID in interface ObjectgetID in class GenericModelObjectpublic Boolean getunicodePUA()
GlyphgetunicodePUA in interface Glyphpublic Boolean getactualTextPresent()
GlyphgetactualTextPresent in interface GlyphCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.