OpenTypeFont
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage
public class OpenTypeFont extends CustomPackage
Represents a single font extracted from a file.
Learn more
Methods
| Method | Description |
|---|---|
| getSfntVersion() | Gets the header SFNT version. |
| getMajorVersion() | Gets the header major version. |
| getMinorVersion() | Gets the header minor version. |
| getFontRevision() | Gets the font revision. |
| getFlags() | Gets the header flags. |
| getCreated() | Gets the created date. |
| getModified() | Gets the modified date. |
| getGlyphBounds() | Gets the glyph bounds. |
| getStyle() | Gets the font style. |
| getDirectionHint() | Gets the direction hint. |
| getNames() | Gets the name records. |
| getFontFamilyName() | Gets the name of the font family. |
| getFontSubfamilyName() | Gets the name of the font subfamily. |
| getFullFontName() | Gets the full name of the font. |
| getTypographicFamily() | Gets the typographic family. |
| getTypographicSubfamily() | Gets the typographic subfamily. |
| getWeight() | Gets the font weight. |
| getWidth() | Gets the font width. |
| getEmbeddingLicensingRights() | Gets the embedding licensing rights type. |
getSfntVersion()
public final OpenTypeVersion getSfntVersion()
Gets the header SFNT version.
Returns: OpenTypeVersion - The header SFNT version.
getMajorVersion()
public final int getMajorVersion()
Gets the header major version.
Returns: int - The header major version.
getMinorVersion()
public final int getMinorVersion()
Gets the header minor version.
Returns: int - The header minor version.
getFontRevision()
public final float getFontRevision()
Gets the font revision.
Returns: float - The font revision.
getFlags()
public final OpenTypeFlags getFlags()
Gets the header flags.
Returns: OpenTypeFlags - The header flags.
getCreated()
public final Date getCreated()
Gets the created date.
Returns: java.util.Date - The created date.
getModified()
public final Date getModified()
Gets the modified date.
Returns: java.util.Date - The modified date.
getGlyphBounds()
public final Rectangle getGlyphBounds()
Gets the glyph bounds.
Returns: Rectangle - The glyph bounds.
getStyle()
public final OpenTypeStyles getStyle()
Gets the font style.
Returns: OpenTypeStyles - The font style.
getDirectionHint()
public final OpenTypeDirectionHint getDirectionHint()
Gets the direction hint.
Returns: OpenTypeDirectionHint - The direction hint.
getNames()
public final OpenTypeBaseNameRecord[] getNames()
Gets the name records.
Returns: com.groupdocs.metadata.core.OpenTypeBaseNameRecord[] - The name records.
getFontFamilyName()
public final String getFontFamilyName()
Gets the name of the font family.
Returns: java.lang.String - The name of the font family.
getFontSubfamilyName()
public final String getFontSubfamilyName()
Gets the name of the font subfamily.
Returns: java.lang.String - The name of the font subfamily.
getFullFontName()
public final String getFullFontName()
Gets the full name of the font.
Returns: java.lang.String - The full name of the font.
getTypographicFamily()
public final String getTypographicFamily()
Gets the typographic family.
Returns: java.lang.String - The typographic family.
getTypographicSubfamily()
public final String getTypographicSubfamily()
Gets the typographic subfamily.
Returns: java.lang.String - The typographic subfamily.
getWeight()
public final OpenTypeWeight getWeight()
Gets the font weight.
Returns: OpenTypeWeight - The font weight.
getWidth()
public final OpenTypeWidth getWidth()
Gets the font width.
Returns: OpenTypeWidth - The font width.
getEmbeddingLicensingRights()
public final OpenTypeLicensingRights getEmbeddingLicensingRights()
Gets the embedding licensing rights type.
Returns: OpenTypeLicensingRights - The embedding licensing rights type.