public class GFPDFont extends GFPDResource implements PDFont
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_FONT |
static String |
FONT_FILE |
protected boolean |
fontProgramParsed |
protected RenderingMode |
renderingMode |
RESOURCE_TYPEcontentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObjectcontextDependent| Modifier | Constructor and Description |
|---|---|
protected |
GFPDFont(PDFont font,
RenderingMode renderingMode,
String type) |
| Modifier and Type | Method and Description |
|---|---|
Encoding |
getEncodingMapping() |
String |
getfontFileSubtype()
value of the entry /Subtype in the embedded font file stream, or null, if the this entry is not present (or the font is not embedded)
|
String |
getfontName()
font name defined by BaseFont entry in the font dictionary and FontName key in the font descriptor
|
Boolean |
getisSymbolic()
true if the font flags in the font descriptor dictionary mark indicate that the font is symbolic (the entry /Flags has bit 3 set to 1 and bit 6 set to 0)
|
List<? extends Object> |
getLinkedObjects(String link) |
Long |
getrenderingMode()
rendering mode value
|
String |
getSubtype()
font subtype (Subtype entry)
|
String |
getType()
font type (Type entry)
|
boolean |
isFontProgramParsed() |
getisInheritedaddAction, getIDgetLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetisInheritedgetID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String FONT_FILE
public static final String BASE_FONT
protected boolean fontProgramParsed
protected final RenderingMode renderingMode
protected GFPDFont(PDFont font, RenderingMode renderingMode, String type)
public String getSubtype()
PDFontgetSubtype in interface PDFontpublic String getfontName()
PDFontgetfontName in interface PDFontpublic Boolean getisSymbolic()
PDFontgetisSymbolic in interface PDFontpublic Long getrenderingMode()
PDFontgetrenderingMode in interface PDFontpublic String getfontFileSubtype()
PDFontgetfontFileSubtype in interface PDFontpublic List<? extends Object> getLinkedObjects(String link)
getLinkedObjects in interface ObjectgetLinkedObjects in class GenericModelObjectlink - - the name of a linkpublic boolean isFontProgramParsed()
public Encoding getEncodingMapping()
Copyright © 2015–2018 The veraPDF Consortium. All rights reserved.