| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private Map | |
| private List | |
| private String | |
| public static final String | TAG
A tag that identifies this table type. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private Charset | |
| private String | |
| public String | |
| public String | Returns: the font sub family name, in EnglishReturns the font sub family name, in English. |
| public String | Returns: name, or nullName ID from NameRecord constants. nameId, int Platform ID from NameRecord constants. platformId, int Platform Encoding ID from NameRecord constants. encodingId, int Language ID from NameRecord constants. languageId)Returns a name from the table, or null it it does not exist. |
| public List | Returns: A list of NameRecord objects.This will get the name records for this naming table. |
| public String | |
| private static boolean | |
| pack-priv void | read(TrueTypeFont
The font that is being read. ttf, TTFDataStream The stream to read the data from. data)Overrides org. This will read the required data from the stream. |
| private void | |
| pack-priv void | readHeaders(TrueTypeFont
The font that is being read. ttf, TTFDataStream The stream to read the data from. data, FontHeaders The class to write the data to. outHeaders)Overrides org. This will read required headers from the stream into outHeaders. |
| private void |
| fontFamily | back to summary |
|---|---|
| private String fontFamily | |
| fontSubFamily | back to summary |
|---|---|
| private String fontSubFamily | |
| lookupTable | back to summary |
|---|---|
| private Map<Integer, Map<Integer, Map<Integer, Map<Integer, String>>>> lookupTable | |
| nameRecords | back to summary |
|---|---|
| private List<NameRecord> nameRecords | |
| psName | back to summary |
|---|---|
| private String psName | |
| TAG | back to summary |
|---|---|
| public static final String TAG A tag that identifies this table type. | |
| NamingTable | back to summary |
|---|---|
| pack-priv NamingTable() | |
| fillLookupTable | back to summary |
|---|---|
| private void fillLookupTable() | |
| getCharset | back to summary |
|---|---|
| private Charset getCharset(NameRecord nr) | |
| getEnglishName | back to summary |
|---|---|
| private String getEnglishName(int nameId) Helper to get English names by best effort. | |
| getFontFamily | back to summary |
|---|---|
| public String getFontFamily() Returns the font family name, in English.
| |
| getFontSubFamily | back to summary |
|---|---|
| public String getFontSubFamily() Returns the font sub family name, in English.
| |
| getName | back to summary |
|---|---|
| public String getName(int nameId, int platformId, int encodingId, int languageId) Returns a name from the table, or null it it does not exist.
| |
| getNameRecords | back to summary |
|---|---|
| public List This will get the name records for this naming table.
| |
| getPostScriptName | back to summary |
|---|---|
| public String getPostScriptName() Returns the PostScript name.
| |
| isUsefulForOnlyHeaders | back to summary |
|---|---|
| private static boolean isUsefulForOnlyHeaders(NameRecord nr) | |
| read | back to summary |
|---|---|
| pack-priv void read(TrueTypeFont ttf, TTFDataStream data) throws IOException Overrides org. This will read the required data from the stream.
| |
| read | back to summary |
|---|---|
| private void read(TrueTypeFont ttf, TTFDataStream data, boolean onlyHeaders) throws IOException | |
| readHeaders | back to summary |
|---|---|
| pack-priv void readHeaders(TrueTypeFont ttf, TTFDataStream data, FontHeaders outHeaders) throws IOException Overrides org. Doc from org. This will read required headers from the stream into outHeaders.
| |
| readInterestingStrings | back to summary |
|---|---|
| private void readInterestingStrings() | |