com.sun.pdfview.font
public class TTFFont extends OutlineFont
Constructor Summary | |
---|---|
TTFFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor)
create a new TrueTypeFont object based on a description of the
font from the PDF file. |
Method Summary | |
---|---|
protected GeneralPath | getOutline(char src, float width)
Get the outline of a character given the character code |
protected GeneralPath | getOutline(String name, float width)
Get the outline of a character given the character name |
protected GeneralPath | getOutline(int glyphId, float width)
Get the outline of a character given the glyph id |
protected GeneralPath | renderCompoundGlyph(GlyfTable glyf, GlyfCompound g)
Render a compound glyf |
protected GeneralPath | renderSimpleGlyph(GlyfSimple g)
Render a simple glyf |