public class PDFFontEmbedderType3 extends PDFFontEmbedder
pdf
NOTDEF
FONT_SIZE
Constructor and Description |
---|
PDFFontEmbedderType3(FontRenderContext context,
PDFWriter pdf,
String reference,
PDFRedundanceTracker tracker) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAdditionalEntries(PDFDictionary fontDict)
Add additional entries to the font Dictionary.
|
protected void |
addAdditionalInitDicts()
Add additional dicionaries to the PDFWriter which may be referenced by
entries generated by addAdditionalEntries()
|
protected String |
getSubtype()
Returns the font subtype (currently only Type3).
|
protected void |
writeGlyph(String characterName,
Shape glyph,
GlyphMetrics glyphMetrics)
Writes a single glyph to the file.
|
closeEmbedFont, createCharacterReference, getReference, openIncludeFont, writeEncoding, writeEncoding, writeWidths
closeGlyphs, getAdvanceWidth, getAdvanceWidths, getGlyph, getGlyphMetrics, includeFont, openGlyphs
closeIncludeFont, getCharName, getContext, getEncodingTable, getFont, getFontBBox, getFontName, getNODefinedChars, getUndefinedWidth, getUnicode, getUnicode
public PDFFontEmbedderType3(FontRenderContext context, PDFWriter pdf, String reference, PDFRedundanceTracker tracker)
protected String getSubtype()
PDFFontEmbedder
getSubtype
in class PDFFontEmbedder
protected void addAdditionalEntries(PDFDictionary fontDict) throws IOException
PDFFontEmbedder
addAdditionalEntries
in class PDFFontEmbedder
IOException
protected void addAdditionalInitDicts() throws IOException
PDFFontEmbedder
addAdditionalInitDicts
in class PDFFontEmbedder
IOException
protected void writeGlyph(String characterName, Shape glyph, GlyphMetrics glyphMetrics) throws IOException
FontEmbedder
writeGlyph
in class FontEmbedder
characterName
- the character's name according to the unicode standardglyph
- the shape that represents this glyphglyphMetrics
- the metrics of this glyphIOException
Copyright © 2014. All rights reserved.