Edit

Share via


usp10.h header

This header is used by Internationalization for Windows Applications. For more information, see:

usp10.h contains the following programming interfaces:

Functions

 
ScriptApplyDigitSubstitution

Applies the specified digit substitution settings to the specified script control and script state structures.
ScriptApplyLogicalWidth

Takes an array of advance widths for a run and generates an array of adjusted advance glyph widths.
ScriptBreak

Retrieves information for determining line breaks.
ScriptCacheGetHeight

Retrieves the height of the currently cached font.
ScriptCPtoX

Generates the x offset from the left end or leading edge of a run to either the leading or trailing edge of a logical character cluster.
ScriptFreeCache

Frees a script cache.
ScriptGetCMap

Retrieves the glyph indexes of the Unicode characters in a string according to either the TrueType cmap table or the standard cmap table implemented for old-style fonts.
ScriptGetFontAlternateGlyphs

Retrieves a list of alternate glyphs for a specified character that can be accessed through a specified OpenType feature.
ScriptGetFontFeatureTags

Retrieves a list of typographic features for the defined writing system for OpenType processing. The typographic feature tags comprising the list are retrieved from the font in the supplied device context or cache.
ScriptGetFontLanguageTags

Retrieves a list of language tags that are available for the specified item and are supported by a specified script tag for OpenType processing. The tags comprising the list are retrieved from the font in the specified device context or cache.
ScriptGetFontProperties

Retrieves information from the font cache on the special glyphs used by a font.
ScriptGetFontScriptTags

Retrieves a list of scripts available in the font for OpenType processing. Scripts comprising the list are retrieved from the font located in the supplied device context or from the script shaping engine that processes the font of the current run.
ScriptGetGlyphABCWidth

Retrieves the ABC width of a given glyph.
ScriptGetLogicalWidths

Converts the glyph advance widths for a specific font into logical widths.
ScriptGetProperties

Retrieves information about the current scripts.
ScriptIsComplex

Determines whether a Unicode string requires complex script processing.
ScriptItemize

Breaks a Unicode string into individually shapeable items.
ScriptItemizeOpenType

Breaks a Unicode string into individually shapeable items and provides an array of feature tags for each shapeable item for OpenType processing.
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

Generates glyph advance width and two-dimensional offset information from the output of ScriptShape.
ScriptPlaceOpenType

Generates glyphs and visual attributes for a Unicode run with OpenType information from the output of ScriptShapeOpenType.
ScriptPositionSingleGlyph

Positions a single glyph with a single adjustment using a specified feature provided in the font for OpenType processing. Most often, applications use this function to align a glyph optically at the beginning or end of a line.
ScriptRecordDigitSubstitution

Reads the National Language Support (NLS) native digit and digit substitution settings and records them in a SCRIPT_DIGITSUBSTITUTE structure. For more information, see Digit Shapes.
ScriptShape

Generates glyphs and visual attributes for a Unicode run.
ScriptShapeOpenType

Generates glyphs and visual attributes for a Unicode run with OpenType information. Each run consists of one call to this function.
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.
ScriptStringAnalyse

Analyzes a plain text string.
ScriptStringCPtoX

Retrieves 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.
ScriptStringValidate

Checks a SCRIPT_STRING_ANALYSIS structure for invalid sequences.
ScriptStringXtoCP

Converts an x coordinate to a character position.
ScriptSubstituteSingleGlyph

Enables substitution of a single glyph with one alternate form of the same glyph for OpenType processing.
ScriptTextOut

Displays text for the specified script shape and place information.
ScriptXtoCP

Generates the leading or trailing edge of a logical character cluster from the x offset of a run.

Structures

 
GOFFSET

Contains the x and y offsets of the combining glyph.
OPENTYPE_FEATURE_RECORD

Contains information about a single OpenType feature to apply to a run.
SCRIPT_ANALYSIS

Contains a portion of a Unicode string, that is, an "item".
SCRIPT_CHARPROP

Contains information about a single character in a run (input string). The information indicates if the character glyph is affected by surrounding letters of the run.
SCRIPT_CONTROL

Contains script control flags for several Uniscribe functions, for example, ScriptItemize.
SCRIPT_DIGITSUBSTITUTE

Contains native digit and digit substitution settings.
SCRIPT_FONTPROPERTIES

Contains information about the properties of the current font.
SCRIPT_GLYPHPROP

Contains information about a glyph that is part of an output glyph array.
SCRIPT_ITEM

Contains a script item, including a SCRIPT_ANALYSIS structure with the string offset of the first character of the item.
SCRIPT_LOGATTR

Contains attributes of logical characters that are useful when editing and formatting text.
SCRIPT_PROPERTIES

Contains information about special processing for each script.
SCRIPT_STATE

Contains script state information.
SCRIPT_TABDEF

Contains definitions of the tab positions for ScriptStringAnalyse.
SCRIPT_VISATTR

Contains the visual (glyph) attributes that identify clusters and justification points, as generated by ScriptShape.
TEXTRANGE_PROPERTIES

Contains a group of OpenType features to apply to a run.

Enumerations

 
SCRIPT_JUSTIFY

Defines glyph characteristic information that an application needs to implement justification.