OpenTypeScript Class
Gives the script tags of the OpenType Layout tables for a Unicode script: OpenType specification, "Script Tags".
public static class OpenTypeScriptMethods
| Name | Description |
|---|---|
| FromIso15924(uint) | Gets the Unicode script of an ISO 15924 code, as a big-endian tag (Latn is 0x4C61746E). The code of Hiragana and Katakana together (Hrkt) is Katakana, whose tag is the one of both; an unknown code is UnicodeScript.Unknown. |
| GetTags(UnicodeScript, Span<uint>) | Gets the tags to look for in a script list, by order of preference: the tags of the script, then the default script, then the tags fonts use in its place. |
FromIso15924(uint)
OpenTypeScript.csGets the Unicode script of an ISO 15924 code, as a big-endian tag (Latn is 0x4C61746E). The code of Hiragana and Katakana together (Hrkt) is Katakana, whose tag is the one of both; an unknown code is UnicodeScript.Unknown.
public static UnicodeScript FromIso15924(uint code)GetTags(UnicodeScript, Span<uint>)
OpenTypeScript.csGets the tags to look for in a script list, by order of preference: the tags of the script, then the default script, then the tags fonts use in its place.
public static int GetTags(UnicodeScript script, Span<uint> tags)Constants
| Name | Description |
|---|---|
| Default | The tag 'DFLT' of the default script. |
| MaxTagCount | The largest number of tags OpenTypeScript.GetTags writes. |
Default
The tag 'DFLT' of the default script.
public const uint Default = 1145457748UMaxTagCount
The largest number of tags OpenTypeScript.GetTags writes.
public const int MaxTagCount = 6