Uniscribe Functions (Windows Embedded CE 6.0)
1/6/2010
The following table shows the Uniscribe functions.
In This Section
- ScriptApplyDigitSubstitution
Applies the digit substitution settings recorded in a SCRIPT_DIGITSUBSTITUTE structure to the SCRIPT_CONTROL and SCRIPT_STATE structures.
- ScriptApplyLogicalWidth
Takes an array of advance widths for a run and generates an array of glyph widths that are suitable for passing to the piJustify parameter of ScriptTextOut.
- ScriptBreak
Returns information for determining line breaks.
- ScriptCacheGetHeight
Returns the height of the currently cached font.
- ScriptCPtoX
Generates the x offset from the left end (!fLogicalOrder) or leading edge (fLogicalOrder) of a run to either the leading or trailing edge of a logical character cluster.
- ScriptFreeCache
Frees a SCRIPT_CACHE item.
- ScriptGetCMap
Takes a string and returns the glyph indices of the Unicode characters according to the TrueType cmap table or the standard cmap table implemented for old style fonts.
- ScriptGetFontProperties
Returns information from the font cache on the special glyphs used by a font.
- ScriptGetGlyphABCWidth
Returns the ABC width of a given glyph.
- ScriptGetLogicalWidths
Converts the glyph advance widths for a specific font into logical widths.
- ScriptGetProperties
Returns information about the current scripts.
- ScriptIsComplex
Determines whether a Unicode string requires complex script processing.
- ScriptItemize
Breaks a Unicode string into individually shapeable items.
- ScriptJustify
Creates an advance widths table to allow text justification when passed to the ScriptTextOut function.
- ScriptLayout
Converts an array of run–embedding levels to a map of visual–to–logical position and/or logical–to–visual position.
- ScriptPlace
Takes the output of a ScriptShape call and generates glyph advance width and two-dimensional offset information.
- ScriptRecordDigitSubstitution
Reads the National Language Support (NLS) native digit and digit substitution settings and records them in the SCRIPT_DIGITSUBSTITUTE structure.
- ScriptShape
Takes a Unicode run and generates 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
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 ScriptShape and ScriptPlace calls and calls the operating system ExtTextOut function appropriately.
- ScriptXtoCP
Converts an x offset from the left end (!fLogicalOrder) or leading edge (fLogicalOrder) of a run to a logical character position and a flag that indicates whether the x position fell in the leading or the trailing half of the character.
Related Sections
- Uniscribe Reference
Provides an overview of the programming elements available for Uniscribe.