public class TextRenderingOptions extends Object
Document.setTextRenderingOptions(TextRenderingOptions)| Modifier and Type | Field and Description |
|---|---|
static String |
DOCUMENT_LANGUAGE_DEFAULT |
| Constructor and Description |
|---|
TextRenderingOptions()
Creates a text rendering options instance with the default options: glyph substitution enabled and "dflt" as
document language.
|
TextRenderingOptions(String documentLanguage,
boolean glyphSubstitutionEnabled)
Creates a text rendering options instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDocumentLanguage()
The default language of the document.
|
boolean |
isGlyphSubstitutionEnabled()
Returns the glyph substitution enabled flag.
|
void |
setDocumentLanguage(String documentLanguage)
Sets the default language of the document.
|
void |
setGlyphSubstitutionEnabled(boolean glyphSubstitutionEnabled)
Sets the font glyph substitution enabled flag.
|
public static final String DOCUMENT_LANGUAGE_DEFAULT
public TextRenderingOptions()
public TextRenderingOptions(String documentLanguage, boolean glyphSubstitutionEnabled)
documentLanguage - the wanted languageglyphSubstitutionEnabled - whether glyph substitution is enabledpublic String getDocumentLanguage()
public void setDocumentLanguage(String documentLanguage)
documentLanguage - the document languagegetDocumentLanguage()public boolean isGlyphSubstitutionEnabled()
Document.setGlyphSubstitutionEnabled(boolean)public void setGlyphSubstitutionEnabled(boolean glyphSubstitutionEnabled)
glyphSubstitutionEnabled - whether glyph substitution is enabledCopyright © 2024. All rights reserved.