public class Font
extends java.lang.Object
Constructor and Description |
---|
Font()
Constructor
|
Modifier and Type | Method and 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) |
public Table getTable(int tableType)
public Os2Table getOS2Table()
public CmapTable getCmapTable()
public HeadTable getHeadTable()
public HheaTable getHheaTable()
public HmtxTable getHmtxTable()
public LocaTable getLocaTable()
public MaxpTable getMaxpTable()
public NameTable getNameTable()
public PostTable getPostTable()
public int getAscent()
public int getDescent()
public int getNumGlyphs()
public Glyph getGlyph(int i)
public java.lang.String getPath()
public TableDirectory getTableDirectory()
protected void read(java.lang.String pathName)
pathName
- Path to the TTF font filepublic static Font create()
public static Font create(java.lang.String pathName)
pathName
- Path to the TTF font fileCopyright © 2022 Apache Software Foundation. All Rights Reserved.