public class NamingTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
static String |
TAG
A tag that identifies this table type.
|
initialized
Constructor and Description |
---|
NamingTable() |
Modifier and Type | Method and Description |
---|---|
String |
getFontFamily()
Returns the font family name.
|
String |
getFontSubFamily()
Returns the font sub family name.
|
List<NameRecord> |
getNameRecords()
This will get the name records for this naming table.
|
String |
getPSName()
Returns the postscript name.
|
void |
initData(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream.
|
getCheckSum, getInitialized, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag
public static final String TAG
public void initData(TrueTypeFont ttf, TTFDataStream data) throws IOException
initData
in class TTFTable
ttf
- The font that is being read.data
- The stream to read the data from.IOException
- If there is an error reading the data.public List<NameRecord> getNameRecords()
public String getFontFamily()
public String getFontSubFamily()
public String getPSName()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.