Class TextRenderingOptions

java.lang.Object
org.openpdf.text.TextRenderingOptions

public class TextRenderingOptions extends Object
Text rendering options, including the default language of the document and a flag to enable font glyph substitution (if FOP is available).
Since:
3.1.15
See Also:
  • Field Details

  • Constructor Details

    • TextRenderingOptions

      public TextRenderingOptions()
      Creates a text rendering options instance with the default options: glyph substitution enabled and "dflt" as document language.
    • TextRenderingOptions

      public TextRenderingOptions(String documentLanguage, boolean glyphSubstitutionEnabled)
      Creates a text rendering options instance.
      Parameters:
      documentLanguage - the wanted language
      glyphSubstitutionEnabled - whether glyph substitution is enabled