FontFormat
Leave feedback
On this page
Inheritance: java.lang.Object
public final class FontFormat
Represents all font formats, which may be present in the UsedFontInfo class.
| Field | Description |
|---|---|
| Unknown | Unknown or invalid font format. |
| TrueType | TrueType font format (TTF). |
| OpenType | OpenType font format (OTF). |
| TrueTypeCollection | TrueType Collection font format (TTC). |
| EmbeddedOpenType | Embedded OpenType font format (EOT). |
| Method | Description |
|---|---|
| toString(int format) | Converts a format value to a human-readable string. |
public static final int Unknown
Unknown or invalid font format.
public static final int TrueType
TrueType font format (TTF).
public static final int OpenType
OpenType font format (OTF).
public static final int TrueTypeCollection
TrueType Collection font format (TTC).
public static final int EmbeddedOpenType
Embedded OpenType font format (EOT).
public static String toString(int format)
Converts a format value to a human-readable string.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| format | int | the font format value |
Returns: java.lang.String - a string representation of the font format
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.