Class GFPDCIDFont
- 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.GFPDCIDFont
-
-
Field Summary
Fields Modifier and Type Field Description static intbufferSizestatic StringCID_FONT_TYPEstatic StringCID_SETstatic StringCUSTOMstatic StringIDENTITYstatic intmaxSize-
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 GFPDCIDFont(PDFont font, RenderingMode renderingMode, String externalFontID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetcidSetListsAllGlyphs()true if the CIDSet is present and correctly lists all glyphs present in the embedded font programStringgetCIDToGIDMap()string representation of the CIDtoGIDMap entry ("Identity", or "Custom" in case of stream value)List<? extends Object>getLinkedObjects(String link)-
Methods inherited from class org.verapdf.gf.model.impl.pd.font.GFPDFont
getEncodingMapping, getfontFileSubtype, getfontName, getisItalic, getisSymbolic, 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, 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
-
-
-
-
Field Detail
-
CID_FONT_TYPE
public static final String CID_FONT_TYPE
- See Also:
- Constant Field Values
-
CID_SET
public static final String CID_SET
- See Also:
- Constant Field Values
-
IDENTITY
public static final String IDENTITY
- See Also:
- Constant Field Values
-
CUSTOM
public static final String CUSTOM
- See Also:
- Constant Field Values
-
maxSize
public static final int maxSize
- See Also:
- Constant Field Values
-
bufferSize
public static final int bufferSize
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFPDCIDFont
public GFPDCIDFont(PDFont font, RenderingMode renderingMode, String externalFontID)
-
-
Method Detail
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGFPDFont- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getCIDToGIDMap
public String getCIDToGIDMap()
Description copied from interface:PDCIDFontstring representation of the CIDtoGIDMap entry ("Identity", or "Custom" in case of stream value)- Specified by:
getCIDToGIDMapin interfacePDCIDFont- Returns:
- string representation of the CIDtoGIDMap entry ("Identity", or "Custom" in case of stream value).
-
getcidSetListsAllGlyphs
public Boolean getcidSetListsAllGlyphs()
Description copied from interface:PDCIDFonttrue if the CIDSet is present and correctly lists all glyphs present in the embedded font program- Specified by:
getcidSetListsAllGlyphsin interfacePDCIDFont- Returns:
- true if the CIDSet is present and correctly lists all glyphs present in the embedded font program.
-
-