public class PBoxTrueTypeFontProgram extends PBoxFontProgram implements TrueTypeFontProgram
| Modifier and Type | Field and Description |
|---|---|
static String |
TRUE_TYPE_PROGRAM_TYPE
Type name of
PBoxTrueTypeFontProgram |
FONT_PROGRAM_TYPE, fontProgram, fontProgramStreamcontextDependent| Constructor and Description |
|---|
PBoxTrueTypeFontProgram(org.apache.fontbox.FontBoxFont fontProgram,
Boolean isSymbolic)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getcmap10Present()
true if the font program contains the Macintosh Roman (1,0 – Platform ID=1, Encoding ID=0) cmap subtable
|
Boolean |
getcmap30Present()
true if the font program contains the Microsoft Symbol (3,0 – Platform ID=3, Encoding ID=0) cmap subtable
|
Boolean |
getcmap31Present()
true if the font program contains the Microsoft Unicode (3,1 – Platform ID=3, Encoding ID=1) cmap subtable
|
Boolean |
getisSymbolic()
true / false if the corresponding PDF Font is marked as symbolic / non-symbolic in its font dictionary
|
Long |
getnrCmaps()
number of cmap subtables in the font program
|
getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String TRUE_TYPE_PROGRAM_TYPE
PBoxTrueTypeFontProgrampublic PBoxTrueTypeFontProgram(org.apache.fontbox.FontBoxFont fontProgram,
Boolean isSymbolic)
fontProgram - processed font program streamisSymbolic - public Long getnrCmaps()
TrueTypeFontProgramgetnrCmaps in interface TrueTypeFontProgrampublic Boolean getisSymbolic()
TrueTypeFontProgramgetisSymbolic in interface TrueTypeFontProgrampublic Boolean getcmap30Present()
TrueTypeFontProgramgetcmap30Present in interface TrueTypeFontProgrampublic Boolean getcmap31Present()
TrueTypeFontProgramgetcmap31Present in interface TrueTypeFontProgrampublic Boolean getcmap10Present()
TrueTypeFontProgramgetcmap10Present in interface TrueTypeFontProgramCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.