[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: No PDF draft watermark included with xsltproc
>>>>> Bob Stayton <bobs@sco.com>: > It works for me, although the watermark image isn't scaled very > well. The word "DRAFT" is scaled too large and gets cut off (XEP > gets it right). Does the watermark image have to be a pixmap? Or can it be in a scalable format, eg. SVG or EPS (a handwritten image wouldn't be many lines in either), as long as the FO->PDF translator can handle the format? > The only tools difference is that I'm using versions 2.5.7 of > libxml2 and 1.0.30 of libxslt. I tried it on a debian testing/unstable (sarge) system, with libxml2 2.5.7 and libxslt 1.0.30, and I still didn't get the watermark. > The fo output includes: > <fo:region-body [snip!] > background-image="url(http://docbook.sourceforge.net/release/images/draft.png)" background-attachment="fixed" [snip!] My .fo files didn't contain the text "background-image". I then looked at the settings in my customization layer: <!-- Autogenerate section numbers --> <xsl:param name="section.autolabel" select="1"/> <!-- HTML Toc level (both chunked and unchunked) --> <xsl:param name="toc.section.depth">5</xsl:param> <xsl:param name="paper.type" select="'A4'" /> <xsl:param name="fop.extensions" select="1" /> Removing the paper.type parameter didn't make any difference, but removing the fop.extensions did. Now it works, even on RH8 with the older libxml2/libxslt, but with the same scaling problems you mentioned. I only get half the "F", and lose the "T" completely. Unfortunately removing fop.extensions also lost me the navigational treeview when viewing the document in acroread. Is there a way to get both? Thanx! - Steinar
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]