Class GFPDType0Font
- 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.GFPDType0Font
-
- All Implemented Interfaces:
Object,PDFont,PDObject,PDResource,PDType0Font
public class GFPDType0Font extends GFPDFont implements PDType0Font
Represents Type0 font dictionary.- Author:
- Sergey Shemyakov
-
-
Field Summary
Fields Modifier and Type Field Description static StringDESCENDANT_FONTSstatic StringENCODINGstatic StringTYPE_0_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 GFPDType0Font(PDType0Font font, RenderingMode renderingMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCIDFontOrdering()Ordering key from CIDSystemInfoStringgetCIDFontRegistry()Registry key from CIDSystemInfoLonggetCIDFontSupplement()Supplement key from CIDSystemInfoStringgetcmapName()the name of the CMapStringgetCMapOrdering()Ordering key from CMapStringgetCMapRegistry()Registry key from CMapLonggetCMapSupplement()Supplement key from CMapList<? extends Object>getLinkedObjects(String link)StringgetSubtype()font subtype (Subtype entry)-
Methods inherited from class org.verapdf.gf.model.impl.pd.font.GFPDFont
getEncodingMapping, getfontFileSubtype, getfontName, getisItalic, getisSymbolic, getrenderingMode, 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, getType
-
Methods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries
-
Methods inherited from interface org.verapdf.model.pdlayer.PDResource
getisInherited
-
-
-
-
Field Detail
-
TYPE_0_FONT_TYPE
public static final String TYPE_0_FONT_TYPE
- See Also:
- Constant Field Values
-
DESCENDANT_FONTS
public static final String DESCENDANT_FONTS
- See Also:
- Constant Field Values
-
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFPDType0Font
public GFPDType0Font(PDType0Font font, RenderingMode renderingMode)
-
-
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
-
getCIDFontOrdering
public String getCIDFontOrdering()
Description copied from interface:PDType0FontOrdering key from CIDSystemInfo- Specified by:
getCIDFontOrderingin interfacePDType0Font
-
getCMapOrdering
public String getCMapOrdering()
Description copied from interface:PDType0FontOrdering key from CMap- Specified by:
getCMapOrderingin interfacePDType0Font
-
getCIDFontRegistry
public String getCIDFontRegistry()
Description copied from interface:PDType0FontRegistry key from CIDSystemInfo- Specified by:
getCIDFontRegistryin interfacePDType0Font
-
getCMapRegistry
public String getCMapRegistry()
Description copied from interface:PDType0FontRegistry key from CMap- Specified by:
getCMapRegistryin interfacePDType0Font
-
getCIDFontSupplement
public Long getCIDFontSupplement()
Description copied from interface:PDType0FontSupplement key from CIDSystemInfo- Specified by:
getCIDFontSupplementin interfacePDType0Font
-
getCMapSupplement
public Long getCMapSupplement()
Description copied from interface:PDType0FontSupplement key from CMap- Specified by:
getCMapSupplementin interfacePDType0Font
-
getcmapName
public String getcmapName()
Description copied from interface:PDType0Fontthe name of the CMap- Specified by:
getcmapNamein interfacePDType0Font- Returns:
- the name of the CMap.
-
getSubtype
public String getSubtype()
Description copied from interface:PDFontfont subtype (Subtype entry)- Specified by:
getSubtypein interfacePDFont- Overrides:
getSubtypein classGFPDFont- Returns:
- font subtype (Subtype entry).
-
-