public class Font extends Object
Constructor and Description |
---|
Font()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static Font |
create() |
static Font |
create(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() |
String |
getPath() |
PostTable |
getPostTable() |
Table |
getTable(int tableType) |
TableDirectory |
getTableDirectory() |
protected void |
read(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 String getPath()
public TableDirectory getTableDirectory()
protected void read(String pathName)
pathName
- Path to the TTF font filepublic static Font create()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.