FontSubstitute
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject
All Implemented Interfaces: java.io.Serializable
public class FontSubstitute extends ValueObject implements Serializable
Describes substitution for missing font.
| Method | Description |
|---|---|
| create(String originalFont, String substituteWith) | Instantiate new font substitution pair. |
| getOriginalFontName() | The original font name. |
| getSubstituteFontName() | The substitute font name. |
public static FontSubstitute create(String originalFont, String substituteWith)
Instantiate new font substitution pair.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| originalFont | java.lang.String | Font from the source document. |
| substituteWith | java.lang.String | Font which will be used to replace originalFont. |
Returns: FontSubstitute - substitution pair
public String getOriginalFontName()
The original font name.
Returns: java.lang.String - the original font name.
public String getSubstituteFontName()
The substitute font name.
Returns: java.lang.String - the substitute font name.
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.