SCRIPT_VISATTR structure (usp10.h)

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

Syntax

typedef struct tag_SCRIPT_VISATTR {
  WORD uJustification : 4;
  WORD fClusterStart : 1;
  WORD fDiacritic : 1;
  WORD fZeroWidth : 1;
  WORD fReserved : 1;
  WORD fShapeReserved : 8;
} SCRIPT_VISATTR;

Members

uJustification

Justification class for the glyph. See SCRIPT_JUSTIFY.

fClusterStart

Value indicating the logical first glyph in every cluster, even for clusters containing just one glyph. Possible values are defined in the following table.

Value Meaning
TRUE
The glyph is the logical first glyph of the cluster.
FALSE
The glyph is not the logical first glyph of the cluster.

fDiacritic

Value indicating if a glyph combines with base characters. Possible values are defined in the following table.

Value Meaning
TRUE
The glyph does combine with base characters.
FALSE
The glyph does not combine with base characters.

fZeroWidth

Value set by the shaping engine to indicate a zero-width character, such as ZWJ and ZWNJ. This value is set for some, but not all, zero-width characters. Possible values are defined in the following table.

Value Meaning
TRUE
The glyph indicates a zero-width character.
FALSE
The glyph does not indicate a zero-width character.

fReserved

Reserved; always initialize to 0.

fShapeReserved

Reserved; for use by shaping engines.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header usp10.h
Redistributable Internet Explorer 5 or later onWindows Me/98/95

See also

SCRIPT_JUSTIFY

ScriptShape

Uniscribe

Uniscribe Structures