FontEmbeddingOptions
Inheritance: java.lang.Object, com.aspose.pdf.FontEmbeddingOptions
public class FontEmbeddingOptions extends Object
PDF/A standard requires, that all fonts must be embedded into document. This class includes flags for cases when it’s not possible to embed some font cause this font is absent on destination PC.
Constructors
| Constructor | Description |
|---|---|
| FontEmbeddingOptions | Initializes a new instance of the {@link FontEmbeddingOptions} class. This constructor sets the default value for the {@code UseDefaultSubstitution}({@link #getUseDefaultSubstitution}/{@link #setUseDefaultSubstitution(boolean)}) property to {@code }. |
Methods
| Method | Description |
|---|---|
| getUseDefaultSubstitution | Indicates whether to substitute non-embedded font using default font substitution strategy. By default false; |
| setUseDefaultSubstitution | Indicates whether to substitute non-embedded font using default font substitution strategy. By default false; |
FontEmbeddingOptions
public FontEmbeddingOptions()
Initializes a new instance of the {@link FontEmbeddingOptions} class. This constructor sets the default value for the {@code UseDefaultSubstitution}({@link #getUseDefaultSubstitution}/{@link #setUseDefaultSubstitution(boolean)}) property to {@code }.
getUseDefaultSubstitution
public boolean getUseDefaultSubstitution()
Indicates whether to substitute non-embedded font using default font substitution strategy. By default false;
Returns: boolean value
setUseDefaultSubstitution
public void setUseDefaultSubstitution(boolean value)
Indicates whether to substitute non-embedded font using default font substitution strategy. By default false;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |