Package org.apache.batik.svggen.font
Class Font
- java.lang.Object
-
- org.apache.batik.svggen.font.Font
-
public class Font extends java.lang.Object
The TrueType font.
-
-
Constructor Summary
Constructors Constructor Description Font()
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Font
create()
static Font
create(java.lang.String pathName)
int
getAscent()
CmapTable
getCmapTable()
int
getDescent()
Glyph
getGlyph(int i)
HeadTable
getHeadTable()
HheaTable
getHheaTable()
HmtxTable
getHmtxTable()
LocaTable
getLocaTable()
MaxpTable
getMaxpTable()
NameTable
getNameTable()
int
getNumGlyphs()
Os2Table
getOS2Table()
java.lang.String
getPath()
PostTable
getPostTable()
Table
getTable(int tableType)
TableDirectory
getTableDirectory()
protected void
read(java.lang.String pathName)
-
-
-
Method Detail
-
getTable
public Table getTable(int tableType)
-
getOS2Table
public Os2Table getOS2Table()
-
getCmapTable
public CmapTable getCmapTable()
-
getHeadTable
public HeadTable getHeadTable()
-
getHheaTable
public HheaTable getHheaTable()
-
getHmtxTable
public HmtxTable getHmtxTable()
-
getLocaTable
public LocaTable getLocaTable()
-
getMaxpTable
public MaxpTable getMaxpTable()
-
getNameTable
public NameTable getNameTable()
-
getPostTable
public PostTable getPostTable()
-
getAscent
public int getAscent()
-
getDescent
public int getDescent()
-
getNumGlyphs
public int getNumGlyphs()
-
getGlyph
public Glyph getGlyph(int i)
-
getPath
public java.lang.String getPath()
-
getTableDirectory
public TableDirectory getTableDirectory()
-
read
protected void read(java.lang.String pathName)
- Parameters:
pathName
- Path to the TTF font file
-
create
public static Font create()
-
create
public static Font create(java.lang.String pathName)
- Parameters:
pathName
- Path to the TTF font file
-
-