public class NamingTable extends Object
| 构造器和说明 |
|---|
NamingTable(long[] offArr) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFontFamily()
Returns the font family name, in English.
|
String |
getFontSubFamily()
Returns the font sub family name, in English.
|
String |
getName(int nameId,
int platformId,
int encodingId,
int languageId)
Returns a name from the table, or null it it does not exist.
|
List<NameRecord> |
getNameRecords()
This will get the name records for this naming table.
|
String |
getPostScriptName()
Returns the PostScript name.
|
NamingTable |
read(TTFDataStream data)
This will read the required data from the stream.
|
public NamingTable read(TTFDataStream data) throws IOException
data - The stream to read the data from.IOException - If there is an error reading the data.public String getName(int nameId, int platformId, int encodingId, int languageId)
nameId - Name ID from NameRecord constants.platformId - Platform ID from NameRecord constants.encodingId - Platform Encoding ID from NameRecord constants.languageId - Language ID from NameRecord constants.public List<NameRecord> getNameRecords()
public String getFontFamily()
public String getFontSubFamily()
public String getPostScriptName()
Copyright © 2024. All rights reserved.