PDFTrueTypeFontFeatures¶
Namespace: O2S.Components.PDF4NET.Graphics
Defines the optional font features to be loaded from the font file.
Inheritance Object → PDFTrueTypeFontFeatures
Remarks
All the features supported by the properties of this class must be available in the font file otherwise enabling these properties has no effect.
Constructors¶
PDFTrueTypeFontFeatures()¶
Initializes a new PDFTrueTypeFontFeatures object.
Properties¶
EnableColorGlyphs¶
Gets or sets a flag indicating whether glyph color information is supported.
Property Value
Boolean
True if color information should be loaded for glyphs. Default is false.
Remarks
Setting this property to true causes the font to load and parse the color related tables.
Set this property to true when you want to create colored Type3 fonts from a TrueType font, for example for displaying emojis.
EnableComplexScripts¶
Gets or sets a flag indicating whether complex script processing should be used when displaying text using the font.
Property Value
Boolean
True if complex script processing should be used on text.
Remarks
This feature must be enabled in order to render correctly the text in arabic, hebrew and other complex scripts.
EnableOldStyleFigures¶
Gets or sets a flag indicating whether old style figures should be used instead of default ones.
Property Value
Boolean
True if old style figures should be used.
EnableSmallCapsForLowercase¶
Gets or sets a flag indicating whether small capitals should be used for lowercase letters.
Property Value
Boolean
True if small capitals should be used for lowercase letters.
EnableSmallCapsForUppercase¶
Gets or sets a flag indicating whether small capitals should be used for uppercase letters.
Property Value
Boolean
True if small capitals should be used for uppercase letters.
EnableStandardLigatures¶
Gets or sets a flag indicating whether standard ligatures should be enabled.
Property Value
Boolean
True if standard ligatures are enabled.
Remarks
This feature replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes. This feature covers the ligatures which the designer/manufacturer judges should be used in normal conditions.
EnableVerticalGlyphs¶
Gets or sets a flag indicating whether vertical glyphs are enabled.
Property Value
Boolean
True if vertical version of a glyph should be used if it is available.
Remarks
Far East languages that support vertical writing use different glyphs for vertical text than for horizontal text.