DWRITE_VERTICAL_GLYPH_ORIENTATION enumeration

The DWRITE_VERTICAL_GLYPH_ORIENTATION enumeration contains values that specify the desired kind of glyph orientation for the text.

Syntax


enum DWRITE_VERTICAL_GLYPH_ORIENTATION {
  DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT, 
  DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED 

};

Constants

DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT

The default glyph orientation. In vertical layout, naturally horizontal scripts (Latin, Thai, Arabic, Devanagari) rotate 90 degrees clockwise, while ideographic scripts (Chinese, Japanese, Korean) remain upright, 0 degrees.

DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED

Stacked glyph orientation. Ideographic scripts and scripts that permit stacking (Latin, Hebrew) are stacked in vertical reading layout. Connected scripts (Arabic, Syriac, 'Phags-pa, Ogham), which would otherwise look broken if glyphs were kept at 0 degrees, remain connected and rotate.

Remarks

The client specifies a DWRITE_VERTICAL_GLYPH_ORIENTATION-typed value to the analyzer as the desired orientation.

Note  This is the client preference, and the constraints of the script determine the final presentation.
 

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_1.h

See also

IDWriteTextAnalysisSource1::GetVerticalGlyphOrientation

 

 

Show: