AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML テクニック

空白

トップ
基本・一般
AH Formatter について
XSL Formatter について
操作方法
プログラミング
XSLT/XSL-FO/SVG/MathML 仕様について
XSLT/XSL-FO/MathML テクニック
索引
Q.  全角空白は text-align="justify" の調整対象になりますか。 [No.2003111703]
A. 

スペースの扱いには、W3CのXSL-FO仕様の勧告に以下のように記述されています。

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).

XSL Formatter は均等割り付けの場合のスペースの扱いもこれに従っていますので、全角空白は半角空白と異なり、全角1文字として処理されるため均等割り付けの対象にはなりません。
また、行頭/行末に全角空白が来た場合も半角空白とは異なり削除されません。行頭および行末の半角空白の扱いについては [No.2003101601] を参照してください。


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