| Modifier and Type | Field and Description |
|---|---|
| protected Encoding | |
| protected GlyphList | |
| private Boolean | |
| private static final Log | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addToSubset(int
Unicode code point codePoint)Implements abstract org. Adds the given Unicode point to the subset. |
| private void | |
| public Encoding | |
| public abstract FontBoxFont | Returns: the embedded or system font used for renderingReturns the embedded or system font used for rendering. |
| public GlyphList | |
| public abstract GeneralPath | |
| protected final float | getStandard14Width(int
character code code)Implements abstract org. Returns the glyph width from the AFM if this is a Standard 14 font. |
| protected final Boolean | Returns: the value of the isSymbolic flag form the font descriptorReturns the value of the symbolic flag, allowing for the fact that the result may be indeterminate. |
| public boolean | hasExplicitWidth(int
character code code)Implements org. Returns true if the Font dictionary specifies an explicit width for the given glyph. |
| public abstract boolean | |
| protected Boolean | Returns: true if isSymbolicInternal implementation of isSymbolic, allowing for the fact that the result may be indeterminate. |
| protected boolean | |
| public boolean | isStandard14()
Overrides org. Returns true if this font is one of the "Standard 14" fonts and receives special handling. |
| public final boolean | Returns: true if the font is a symbolicReturns true if the font is a symbolic (that is, it does not use the Adobe Standard Roman character set). |
| public boolean | isVertical()
Implements abstract org. Returns true if the font uses vertical writing mode. |
| protected void | |
| protected abstract Encoding | Returns: encoding of the fontCalled by readEncoding() if the encoding needs to be extracted from the font file. |
| public void | subset()
Implements abstract org. Replaces this font with a subset containing only the given Unicode characters. |
| public String | toUnicode(int
character code code)Overrides org. Returns the Unicode character sequence which corresponds to the given character code. |
| public String | toUnicode(int
character code code, GlyphList a custom glyph list to use instead of the Adobe Glyph List customGlyphList)Overrides org. Returns the Unicode character sequence which corresponds to the given character code. |
| public boolean | willBeSubset()
Implements abstract org. Returns true if this font will be subset when embedded. |
| encoding | back to summary |
|---|---|
| protected Encoding encoding | |
| glyphList | back to summary |
|---|---|
| protected GlyphList glyphList | |
| isSymbolic | back to summary |
|---|---|
| private Boolean isSymbolic | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| noUnicode | back to summary |
|---|---|
| private final Set<Integer> noUnicode | |
| PDSimpleFont | back to summary |
|---|---|
| pack-priv PDSimpleFont() Constructor for embedding. | |
| PDSimpleFont | back to summary |
|---|---|
| pack-priv PDSimpleFont(Standard14Fonts. Constructor for Standard 14. | |
| PDSimpleFont | back to summary |
|---|---|
| pack-priv PDSimpleFont(COSDictionary fontDictionary) Constructor.
| |
| addToSubset | back to summary |
|---|---|
| public void addToSubset(int codePoint) Implements abstract org. Doc from org. Adds the given Unicode point to the subset.
| |
| assignGlyphList | back to summary |
|---|---|
| private void assignGlyphList(Standard14Fonts. | |
| getEncoding | back to summary |
|---|---|
| public Encoding getEncoding() Returns the Encoding.
| |
| getFontBoxFont | back to summary |
|---|---|
| public abstract FontBoxFont getFontBoxFont() Returns the embedded or system font used for rendering. This is never null.
| |
| getGlyphList | back to summary |
|---|---|
| public GlyphList getGlyphList() Returns the glyphlist.
| |
| getPath | back to summary |
|---|---|
| public abstract GeneralPath getPath(String name) throws IOException Returns the path for the character with the given name. For some fonts, GIDs may be used instead of names when calling this method. *
| |
| getStandard14Width | back to summary |
|---|---|
| protected final float getStandard14Width(int code) Implements abstract org. Doc from org. Returns the glyph width from the AFM if this is a Standard 14 font.
| |
| getSymbolicFlag | back to summary |
|---|---|
| protected final Boolean getSymbolicFlag() Returns the value of the symbolic flag, allowing for the fact that the result may be indeterminate.
| |
| hasExplicitWidth | back to summary |
|---|---|
| public boolean hasExplicitWidth(int code) throws IOException Implements org. Doc from org. Returns true if the Font dictionary specifies an explicit width for the given glyph. This includes Width, W but not default widths entries.
| |
| hasGlyph | back to summary |
|---|---|
| public abstract boolean hasGlyph(String name) throws IOException Returns true if the font contains the character with the given name.
| |
| isFontSymbolic | back to summary |
|---|---|
| protected Boolean isFontSymbolic() Internal implementation of isSymbolic, allowing for the fact that the result may be indeterminate.
| |
| isNonZeroBoundingBox | back to summary |
|---|---|
| protected boolean isNonZeroBoundingBox(PDRectangle bbox) | |
| isStandard14 | back to summary |
|---|---|
| public boolean isStandard14() Overrides org. Doc from org. Returns true if this font is one of the "Standard 14" fonts and receives special handling.
| |
| isSymbolic | back to summary |
|---|---|
| public final boolean isSymbolic() Returns true if the font is a symbolic (that is, it does not use the Adobe Standard Roman character set).
| |
| isVertical | back to summary |
|---|---|
| public boolean isVertical() Implements abstract org. Doc from org. Returns true if the font uses vertical writing mode.
| |
| readEncoding | back to summary |
|---|---|
| protected void readEncoding() throws IOException Reads the Encoding from the Font dictionary or the embedded or substituted font file. Must be called at the end of any subclass constructors.
| |
| readEncodingFromFont | back to summary |
|---|---|
| protected abstract Encoding readEncodingFromFont() throws IOException Called by readEncoding() if the encoding needs to be extracted from the font file.
| |
| subset | back to summary |
|---|---|
| public void subset() throws IOException Implements abstract org. Doc from org. Replaces this font with a subset containing only the given Unicode characters.
| |
| toUnicode | back to summary |
|---|---|
| public String toUnicode(int code) Overrides org. Doc from org. Returns the Unicode character sequence which corresponds to the given character code. | |
| toUnicode | back to summary |
|---|---|
| public String toUnicode(int code, GlyphList customGlyphList) Overrides org. Doc from org. Returns the Unicode character sequence which corresponds to the given character code. | |
| willBeSubset | back to summary |
|---|---|
| public boolean willBeSubset() Implements abstract org. Doc from org. Returns true if this font will be subset when embedded.
| |