pdfCalligraph 4.0.2 API
|
An IFeaturesConfig implementation for convenient configuration of any standard script. More...
Public Member Functions |
|
StandardScriptConfig (ICollection< UnicodeScript > scripts) | |
virtual ICollection< UnicodeScript > | GetScripts () |
Gets scripts that are affected by this instance of IFeaturesConfig. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | SetLigaturesApplying (bool enabled) |
Enables or disables standard ligatures substitution. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | SetCharacterCompositionDecompositionSubstitution (bool enabled) |
Enables or disables characters composition/decomposition substitution. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | SetKerningFeature (bool enabled) |
Enables or disables pair kerning. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | SetDistancesAdjustment (bool enabled) |
Enables or disables distance adjustment. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | SetMarkToBasePositioning (bool enabled) |
Enables or disables mark to base positioning. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | SetMarkToMarkPositioning (bool enabled) |
Enables or disables mark to mark positioning. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | AppendCustomFeature (String feature) |
Adds a custom feature to the end of the list of features that are to be applied. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | PrependCustomFeature (String feature) |
Adds a custom feature to the beginning of the list of features that are to be applied. More... |
|
virtual iText.Typography.Config.StandardScriptConfig | RemoveCustomFeature (String feature) |
Removes custom feature added to the features list via AppendCustomFeature(System.String) or PrependCustomFeature(System.String). More... |
|
virtual IList< String > | ListFeatures () |
Enlists OpenType features that are applied in given order to the scripts defined by GetScripts(). More... |
|
Static Public Attributes |
|
static readonly ICollection< UnicodeScript > | STANDARD_SCRIPTS |
An IFeaturesConfig implementation for convenient configuration of any standard script.
An IFeaturesConfig implementation for convenient configuration of any standard script.
Standard Script - any non-complex script; any script that does not require re-ordering or contextual analysis in the shaping process. According to Open Font File specification such scripts are iText.Commons.Utils.UnicodeScript?.ARMENIAN , iText.Commons.Utils.UnicodeScript?.CYRILLIC , iText.Commons.Utils.UnicodeScript?.GEORGIAN , iText.Commons.Utils.UnicodeScript?.GREEK , iText.Commons.Utils.UnicodeScript?.LATIN , iText.Commons.Utils.UnicodeScript?.RUNIC , iText.Commons.Utils.UnicodeScript?.OGHAM.
See also STANDARD_SCRIPTS set.
Developing OpenType Fonts for Standard Scripts at docs.microsoft.com
|
inlinevirtual |
Adds a custom feature to the end of the list of features that are to be applied.
Adds a custom feature to the end of the list of features that are to be applied.
See also IFeaturesConfig.ListFeatures()
feature | the feature tag denoting feature in the font. |
|
inlinevirtual |
Gets scripts that are affected by this instance of IFeaturesConfig.
Implements iText.Typography.Config.IFeaturesConfig.
|
inlinevirtual |
Enlists OpenType features that are applied in given order to the scripts defined by GetScripts().
Implements iText.Typography.Config.IFeaturesConfig.
|
inlinevirtual |
Adds a custom feature to the beginning of the list of features that are to be applied.
Adds a custom feature to the beginning of the list of features that are to be applied.
See also IFeaturesConfig.ListFeatures()
feature | the feature tag denoting feature in the font. |
|
inlinevirtual |
Removes custom feature added to the features list via AppendCustomFeature(System.String) or PrependCustomFeature(System.String).
Removes custom feature added to the features list via AppendCustomFeature(System.String) or PrependCustomFeature(System.String).
See also IFeaturesConfig.ListFeatures()
feature | the feature tag denoting feature in the font. |
|
inlinevirtual |
Enables or disables characters composition/decomposition substitution.
Enables or disables characters composition/decomposition substitution.
If enabled the "ccmp" feature tag will be present in the list of features to be applied (see IFeaturesConfig.ListFeatures() ). It will appear after custom features added by PrependCustomFeature(System.String) (if any) and before custom features added by AppendCustomFeature(System.String) (if any). The order of not custom features is fixed and defined by the Open Font File specification.
By default it's disabled.
enabled |
true
in order to enable the feature, otherwise false
.
|
inlinevirtual |
Enables or disables distance adjustment.
Enables or disables distance adjustment.
If enabled the "dist" feature tag will be present in the list of features to be applied (see IFeaturesConfig.ListFeatures() ). It will appear after custom features added by PrependCustomFeature(System.String) (if any) and before custom features added by AppendCustomFeature(System.String) (if any). The order of not custom features is fixed and defined by the Open Font File specification.
By default it's disabled.
enabled |
true
in order to enable the feature, false
|
inlinevirtual |
Enables or disables pair kerning.
Enables or disables pair kerning.
If enabled the "kern" feature tag will be present in the list of features to be applied (see IFeaturesConfig.ListFeatures() ). It will appear after custom features added by PrependCustomFeature(System.String) (if any) and before custom features added by AppendCustomFeature(System.String) (if any). The order of not custom features is fixed and defined by the Open Font File specification.
By default it's disabled.
enabled |
true
in order to enable the feature, false
|
inlinevirtual |
Enables or disables standard ligatures substitution.
Enables or disables standard ligatures substitution.
If enabled the "liga" feature tag will be present in the list of features to be applied (see IFeaturesConfig.ListFeatures() ). It will appear after custom features added by PrependCustomFeature(System.String) (if any) and before custom features added by AppendCustomFeature(System.String) (if any). The order of not custom features is fixed and defined by the Open Font File specification.
By default it's disabled.
enabled |
true
in order to enable the feature, otherwise false
.
|
inlinevirtual |
Enables or disables mark to base positioning.
Enables or disables mark to base positioning. It's usually used for combining diacritics with the base glyphs.
If enabled the "liga" feature tag will be present in the list of features to be applied (see IFeaturesConfig.ListFeatures() ). It will appear after custom features added by PrependCustomFeature(System.String) (if any) and before custom features added by AppendCustomFeature(System.String) (if any). The order of not custom features is fixed and defined by the Open Font File specification.
By default it's enabled.
enabled |
true
in order to enable the feature, false
|
inlinevirtual |
Enables or disables mark to mark positioning.
Enables or disables mark to mark positioning. It's usually used for combining diacritics with other diacritics.
If enabled the "liga" feature tag will be present in the list of features to be applied (see IFeaturesConfig.ListFeatures() ). It will appear after custom features added by PrependCustomFeature(System.String) (if any) and before custom features added by AppendCustomFeature(System.String) (if any). The order of not custom features is fixed and defined by the Open Font File specification.
By default it's enabled.
enabled |
true
in order to enable the feature, false
|
static |