XmpFont
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType
public final class XmpFont extends XmpComplexType
A structure containing the characteristics of a font used in a document.
| Constructor | Description |
|---|---|
| XmpFont() | Initializes a new instance of the XmpFont class. |
| XmpFont(String fontFamily) | Initializes a new instance of the XmpFont class. |
| Method | Description |
|---|---|
| getChildFontFiles() | Gets the list of file names for the fonts that make up a composite font. |
| setChildFontFiles(String[] value) | Sets the list of file names for the fonts that make up a composite font. |
| isComposite() | Gets a value indicating whether whether the font is composite. |
| setComposite(Boolean value) | Sets a value indicating whether whether the font is composite. |
| getFontFace() | Gets the font face name. |
| setFontFace(String value) | Sets the font face name. |
| getFontFamily() | Gets the font family name. |
| setFontFamily(String value) | Sets the font family name. |
| getFontFileName() | Gets the font file name (not a complete path). |
| setFontFileName(String value) | Sets the font file name (not a complete path). |
| getFontName() | Gets the PostScript name of the font. |
| setFontName(String value) | Sets the PostScript name of the font. |
| getFontType() | Gets the font type. |
| setFontType(String value) | Sets the font type. |
| getVersion() | Gets the font version. |
| setVersion(String value) | Sets the font version. |
public XmpFont()
Initializes a new instance of the XmpFont class.
public XmpFont(String fontFamily)
Initializes a new instance of the XmpFont class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| fontFamily | java.lang.String | Font family. |
public final String[] getChildFontFiles()
Gets the list of file names for the fonts that make up a composite font.
Returns: java.lang.String[] - The list of file names for the fonts that make up a composite font.
public final void setChildFontFiles(String[] value)
Sets the list of file names for the fonts that make up a composite font.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String[] | The list of file names for the fonts that make up a composite font. |
public final Boolean isComposite()
Gets a value indicating whether whether the font is composite.
Returns: java.lang.Boolean - true if the font is composite; otherwise, false .
public final void setComposite(Boolean value)
Sets a value indicating whether whether the font is composite.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Boolean | true if the font is composite; otherwise, false . |
public final String getFontFace()
Gets the font face name.
Returns: java.lang.String - The font face name.
public final void setFontFace(String value)
Sets the font face name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The font face name. |
public final String getFontFamily()
Gets the font family name.
Returns: java.lang.String - The font family name.
public final void setFontFamily(String value)
Sets the font family name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The font family name. |
public final String getFontFileName()
Gets the font file name (not a complete path).
Returns: java.lang.String - The name of the font file.
public final void setFontFileName(String value)
Sets the font file name (not a complete path).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The name of the font file. |
public final String getFontName()
Gets the PostScript name of the font.
Returns: java.lang.String - The PostScript name of the font.
public final void setFontName(String value)
Sets the PostScript name of the font.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The PostScript name of the font. |
public final String getFontType()
Gets the font type.
Returns: java.lang.String - The font type.
TrueType, Type 1, Open Type, and so on.
public final void setFontType(String value)
Sets the font type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The font type. |
TrueType, Type 1, Open Type, and so on. |
public final String getVersion()
Gets the font version.
Returns: java.lang.String - The version.
/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts
public final void setVersion(String value)
Sets the font version.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The version. |
/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts |
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.