Class GFPDType1Font
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.pd.GFPDObject
-
- org.verapdf.gf.model.impl.pd.GFPDResource
-
- org.verapdf.gf.model.impl.pd.font.GFPDFont
-
- org.verapdf.gf.model.impl.pd.font.GFPDSimpleFont
-
- org.verapdf.gf.model.impl.pd.font.GFPDType1Font
-
- All Implemented Interfaces:
Object,PDFont,PDObject,PDResource,PDSimpleFont,PDType1Font
public class GFPDType1Font extends GFPDSimpleFont implements PDType1Font
Represents Type1 font dictionary.- Author:
- Sergey Shemyakov
-
-
Field Summary
Fields Modifier and Type Field Description static StringNOTDEF_STRINGstatic StringTYPE1_FONT_TYPE-
Fields inherited from class org.verapdf.gf.model.impl.pd.font.GFPDFont
BASE_FONT, FONT_FILE, fontProgramParsed, renderingMode
-
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
RESOURCE_TYPE
-
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObject
-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFPDType1Font(PDType1Font pdFont, RenderingMode renderingMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCharSet()the value of the CharSet entry in the font descriptor dictionaryBooleangetcharSetListsAllGlyphs()true if the CharSet is present and correctly lists all glyphs present in the embedded font programBooleangetisStandard()true if the font is one of the 14 standard fonts defined in PDF 1.4 Reference-
Methods inherited from class org.verapdf.gf.model.impl.pd.font.GFPDSimpleFont
getcontainsDifferences, getEncoding, getFirstChar, getLastChar, getWidths_size
-
Methods inherited from class org.verapdf.gf.model.impl.pd.font.GFPDFont
getEncodingMapping, getfontFileSubtype, getfontName, getisItalic, getisSymbolic, getLinkedObjects, getrenderingMode, getSubtype, getType, isFontProgramParsed
-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
getisInherited
-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getID
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from interface org.verapdf.model.pdlayer.PDFont
getfontFileSubtype, getfontName, getisItalic, getisSymbolic, getrenderingMode, getSubtype, getType
-
Methods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries
-
Methods inherited from interface org.verapdf.model.pdlayer.PDResource
getisInherited
-
Methods inherited from interface org.verapdf.model.pdlayer.PDSimpleFont
getcontainsDifferences, getEncoding, getFirstChar, getLastChar, getWidths_size
-
-
-
-
Field Detail
-
TYPE1_FONT_TYPE
public static final String TYPE1_FONT_TYPE
- See Also:
- Constant Field Values
-
NOTDEF_STRING
public static final String NOTDEF_STRING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFPDType1Font
public GFPDType1Font(PDType1Font pdFont, RenderingMode renderingMode)
-
-
Method Detail
-
getCharSet
public String getCharSet()
Description copied from interface:PDType1Fontthe value of the CharSet entry in the font descriptor dictionary- Specified by:
getCharSetin interfacePDType1Font- Returns:
- the value of the CharSet entry in the font descriptor dictionary.
-
getcharSetListsAllGlyphs
public Boolean getcharSetListsAllGlyphs()
Description copied from interface:PDType1Fonttrue if the CharSet is present and correctly lists all glyphs present in the embedded font program- Specified by:
getcharSetListsAllGlyphsin interfacePDType1Font- Returns:
- true if the CharSet is present and correctly lists all glyphs present in the embedded font program.
-
getisStandard
public Boolean getisStandard()
true if the font is one of the 14 standard fonts defined in PDF 1.4 Reference- Specified by:
getisStandardin interfacePDSimpleFont- Specified by:
getisStandardin classGFPDSimpleFont- Returns:
- true if the font is one of the 14 standard fonts defined in PDF 1.4 Reference.
-
-