2.9.332 UFEL

The UFEL structure specifies layout information for text in East Asian languages. See also [ECMA-376] part 4, section 2.3.2.8 eastAsianLayout paragraph property.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

A

B

C

D

E

F

G

H

I

J

K

L

M

A - fTNY (1 bit): A bit that specifies if the text displays horizontally within vertical text, or vertically within horizontal text. The text is rendered with a 90-degree rotation to the left from all other contents of the containing line, while keeping the text on the same line as all other text in the paragraph.

B - fWarichu (1 bit): A bit that specifies that the text displays on a single line by creating two sub-lines within the regular line, and laying out this text equally between those sub-lines.

C - fKumimoji (1 bit): This value MUST be 0 and MUST be ignored.

D - fRuby (1 bit): This value MUST be 0 and MUST be ignored.

E - fLSFitText (1 bit): The value MUST be 0 and MUST be ignored.

F - fVRuby (1 bit): This value MUST be 0 and MUST be ignored.

G - spare1 (2 bits): This value MUST be ignored.

H - iWarichuBracket (3 bits): An unsigned integer that specifies whether the two sub-lines within one line are enclosed within a pair of brackets when displayed, and the type of brackets that are displayed. If fWarichu is equal to 0x0, this value MUST be ignored.

The iWarichuBracket value MUST be one of the following.

Value

Meaning

0x0

No brackets

0x1

Round brackets, "()"

0x2

Square brackets, "[]"

0x3

Angle brackets, "<>"

0x4

Curly brackets, "{}"

I - fWarichuNoOpenBracket (1 bit): This value MUST be 0 and MUST be ignored.

J - fTNYCompress (1 bit): A bit that specifies whether other Sprm structures were applied that cause the text to be scaled to fit within the existing line. A value of 0x1 means that other Sprm structures were applied. A value of 0x0 means that they were not.

K - fTNYFetchTxm (1 bit): This value MUST be 0 and MUST be ignored.

L - fCellFitText (1 bit): This value MUST be 0 and MUST be ignored.

M - spare2 (1 bit): This value MUST be ignored.