Platform SDK: International Features

SCRIPT_VISATTR

The SCRIPT_VISATTR structure contains the visual (glyph) attribute buffer generated by ScriptShape that identifies clusters and justification points.

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 this glyph. See SCRIPT_JUSTIFY.
fClusterStart
Set for the logical first glyph in every cluster, even for clusters containing just one glyph.
fDiacritic
Set for glyphs that combine with base characters.
fZeroWidth
Set by the shaping engine for some, but not all, zero-width characters, such as ZWJ and ZWNJ.
fReserved
Reserved. Always initialize to zero.
fShapeReserved
Reserved for use by the shaping engines.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Usp10.h.

See Also

Uniscribe Overview, Uniscribe Structures, ScriptShape, SCRIPT_JUSTIFY