Class GFTrueTypeFontProgram
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.external.GFExternal
org.verapdf.gf.model.impl.external.GFFontProgram
org.verapdf.gf.model.impl.external.GFTrueTypeFontProgram
- All Implemented Interfaces:
Object,External,FontProgram,TrueTypeFontProgram
Instance of this class represents TrueType font program embedded into PDF
document.
- Author:
- Sergey Shemyakov
-
Field Summary
FieldsFields inherited from class org.verapdf.gf.model.impl.external.GFFontProgram
FONT_PROGRAM_TYPEFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontrue if the font program contains the Macintosh Roman (1,0 – Platform ID=1, Encoding ID=0) cmap subtabletrue if the font program contains the Microsoft Symbol (3,0 – Platform ID=3, Encoding ID=0) cmap subtabletrue if the font program contains the Microsoft Unicode (3,1 – Platform ID=3, Encoding ID=1) cmap subtabletrue / false if the corresponding PDF Font is marked as symbolic / non-symbolic in its font dictionarynumber of cmap subtables in the font programMethods inherited from class org.verapdf.gf.model.impl.external.GFFontProgram
getIDMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
TRUE_TYPE_PROGRAM_TYPE
Type name for GFTrueTypeFontProgram- See Also:
-
-
Constructor Details
-
GFTrueTypeFontProgram
-
-
Method Details
-
getisSymbolic
Description copied from interface:TrueTypeFontProgramtrue / false if the corresponding PDF Font is marked as symbolic / non-symbolic in its font dictionary- Specified by:
getisSymbolicin interfaceTrueTypeFontProgram- Returns:
- true / false if the corresponding PDF Font is marked as symbolic / non-symbolic in its font dictionary.
-
getnrCmaps
Description copied from interface:TrueTypeFontProgramnumber of cmap subtables in the font program- Specified by:
getnrCmapsin interfaceTrueTypeFontProgram- Returns:
- number of cmap subtables in the font program.
-
getcmap30Present
Description copied from interface:TrueTypeFontProgramtrue if the font program contains the Microsoft Symbol (3,0 – Platform ID=3, Encoding ID=0) cmap subtable- Specified by:
getcmap30Presentin interfaceTrueTypeFontProgram- Returns:
- true if the font program contains the Microsoft Symbol (3,0 – Platform ID=3, Encoding ID=0) cmap subtable.
-
getcmap31Present
Description copied from interface:TrueTypeFontProgramtrue if the font program contains the Microsoft Unicode (3,1 – Platform ID=3, Encoding ID=1) cmap subtable- Specified by:
getcmap31Presentin interfaceTrueTypeFontProgram- Returns:
- true if the font program contains the Microsoft Symbol (3,1 – Platform ID=3, Encoding ID=1) cmap subtable.
-
getcmap10Present
Description copied from interface:TrueTypeFontProgramtrue if the font program contains the Macintosh Roman (1,0 – Platform ID=1, Encoding ID=0) cmap subtable- Specified by:
getcmap10Presentin interfaceTrueTypeFontProgram- Returns:
- true if the font program contains the Microsoft Symbol (1,0 – Platform ID=1, Encoding ID=0) cmap subtable.
-