Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Windows Embedded Developer Center
Home
Library
Support
Printer Friendly Version
Send
Click to Rate and Give Feedback
Give feedback on this content
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
Mobile and Embedded Development
Please Wait
Windows Embedded
Please Wait
Windows Embedded CE
Please Wait
Windows CE 5.0
Please Wait
Product Documentation
Please Wait
Windows CE Features
Please Wait
International
Please Wait
Unicode Script Processor for Comple...
Please Wait
Uniscribe Reference
Please Wait
Uniscribe Functions
Please Wait
Platform Builder for Microsoft Windows CE 5.0
Uniscribe Functions
The following table shows the Uniscribe functions .
Programming element
Description
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.
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement
|
Site Feedback