AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML Technics

Space

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  Does the full width white space become a adjustment target for text-align="justify"? [No.2003111703]
A. 

the W3C Recommendation for XSL-FO says as follows:

7.16.7 "treat-as-word-space"

...

auto
The value of this property is determined by the Unicode code point for the character.

As the default behavior:

The characters at code points U+0020 and U+00A0 are treated as if 'true' had been specified. All other characters are treated as if 'false' had been specified.

This property does not automatically apply word spacing to the fixed spaces (U+2000 through U+200A) or the ideographic-space (U+3000).

As for XSL Formatter, the treatment of the space in justify also follows this spec and a full-width white space is processed as 1 character of full width, unlike a half-width white space. Therefore it is not treated as the adjustment target of justify.

Moreover, unlike a half-width white space, the full-width white space is not deleted when it comes to the head/end of the line. Please refer to the following URL to see the treatment of the half-width white space when it comes to the head/end of the line.

[No.2003101601]


Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.