Platform SDK: International Features |
This section describes complex script processing functions.
Function | Description |
---|---|
ScriptApplyDigitSubstitution | Applies digit substitution settings. |
ScriptApplyLogicalWidth | Takes an array of advance widths for a run and generates an array of glyph widths. |
ScriptBreak | Returns information for determining line breaks. |
ScriptCacheGetHeight | Returns information about the currently cached font. |
ScriptCPtoX | Returns the x offset of a run to either the leading or the trailing edge of a logical character cluster. |
ScriptFreeCache | Frees a SCRIPT_CACHE structure. |
ScriptGetCMap | Returns the glyph indices of the characters of a string according to the cmap table. |
ScriptGetFontProperties | Returns information from the font cache. |
ScriptGetGlyphABCWidth | Returns the ABC width of a glyph. |
ScriptGetLogicalWidths | Converts the glyph advance widths into logical widths. |
ScriptGetProperties | Returns information about the current scripts. |
ScriptIsComplex | Determines whether a string requires complex script processing. |
ScriptItemize | Breaks a string into individually shapeable items. |
ScriptJustify | Creates an advance widths table to allow text justification. |
ScriptLayout | Converts an array of run-embedding levels into a map of visual-to-logical position, and/or logical-to-visual position. |
ScriptPlace | Takes the glyphs and visual attributes of a run and generates glyph-advance width and two-dimensional offset information. |
ScriptRecordDigitSubstitution | Reads the National Language Support (NLS) native-digit and digit-substitution settings and then records them in the SCRIPT_DIGITSUBSTITUTE structure. |
ScriptShape | Takes a run and generates its glyphs and visual attributes. |
ScriptStringAnalyse | Analyzes a plain text string. |
ScriptStringCPtoX | Returns the x-coordinate for the leading or trailing edge of a character position. |
ScriptStringFree | Frees a SCRIPT_STRING_ANALYSIS structure. |
ScriptStringGetLogicalWidths | Converts visual widths into logical widths. |
ScriptStringGetOrder | Creates an array that maps an original character position to a glyph position. |
ScriptStringOut | Displays a string generated by a prior call to ScriptStringAnalyse and optionally adds highlighting. |
ScriptString_pcOutChars | Returns a pointer to the length of a string after clipping. |
ScriptString_pLogAttr | Returns a pointer to a logical attributes buffer for an analyzed string. |
ScriptString_pSize | Returns a pointer to a SIZE structure for an analyzed string. |
ScriptStringValidate | Checks the SCRIPT_STRING_ANALYSIS structure for invalid sequences. |
ScriptStringXtoCP | Converts an x-coordinate to a character position. |
ScriptTextOut | Takes the output of both the ScriptShape and ScriptPlace calls and then calls the operating system ExtTextOut function appropriately. |
ScriptXtoCP | Converts the x offset of a run to a logical character position and a flag to indicate whether the x position fell in the leading or trailing half of the character. |