AH Formatter / XSL Formatter
Q&A



操作方法

PDF出力

トップ
基本・一般
AH Formatter について
XSL Formatter について
操作方法
プログラミング
XSLT/XSL-FO/SVG/MathML 仕様について
XSLT/XSL-FO/MathML テクニック
索引
Q.  PDFファイルに黒の文字をK(スミ)版で出力したいのですが、どのように指定すればよいでしょうか。 [No.2005081201]
A. 

XSL Formatterはcolor指定されていないテキストはRGBの黒でPDFに出力します。したがってPDFにはCMYKは出力されません。もしテキストをCMYK=0,0,0,1で出したいのならば、fo:rootに rgb-icc(<R>,<G>,<B>,#CMYK,<C>,<M>,<Y>,<K>) の形でK=1を指定してください。

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
         xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
         color="rgb-icc(0,0,0,#CMYK,0.0,0.0,0.0,1.0)">

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