EN
本內容沒有您的語言版本,但有英文版本。

glyph-orientation-vertical property

Sets or retrieves a value that alters the orientation of a sequence of characters relative to an inline-progression-direction of vertical.

Scalable Vector Graphics: Text, Section 10.7.2Internet Explorer 9

Syntax

glyph-orientation-vertical: auto | <angle> | inherit

Property values

auto

Default. Indicates that full-width ideographic and full-width Latin text are set with a glyph-orientation of 0 degrees. Ideographic punctuation and other ideographic characters that have alternate horizontal and vertical forms use the vertical form of the glyph. Text that is not full-width is set with a glyph-orientation of 90 degrees. This reorientation rule applies only to the first-level non-ideographic text. All further embedding of writing-modes or bidi processing based on the first-level rotation.

angle

Indicates the new orientation of the current text element.

inherit

Indicates that the property takes the same computed value as the property for the element's parent.

CSS information

Applies Totext content elements
Mediavisual
Inherited1
Initial Valueauto

Standards information

Remarks

This property is applied only to text written in a horizontal writingMode.

The glyph orientation affects the amount that the current text position advances as each glyph is rendered. When the inline-progression-direction is vertical and the glyphOrientationVertical property results in an orientation angle that is a multiple of 180 degrees, the current text position is incremented according to the vertical metrics of the glyph. Otherwise, if the glyphOrientationVertical property results in an orientation angle that is not a multiple of 180 degrees, the current text position is incremented according to the horizontal metrics of the glyph.

See also

CSSStyleDeclaration
currentStyle
style
SVGTextElement
SVGTextPathElement
SVGTSpanElement
glyphOrientationHorizontal

 

 

顯示:
© 2014 Microsoft