xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Berendsen" <do...@hotmail.com>
Subject Pattern fills are all solid black
Date Thu, 02 Jan 2003 11:43:59 GMT

Any pattern fill (e.g. see below) that I try always results in a solid black 
fill. I'm using FOP 2.0.4 with Batik version 1.5 beta2 and viewing the pdf 
with Acrobat. Can anyone provide me with some guidance or an example of a 
pattern fill that works with FOP pdf generation?

<fo:instream-foreign-object>
<svg:svg width="10cm" height="5cm" xml:space="preserve">
<svg:pattern id="sbBgPatt" preserveAspectRatio="xMidYMid meet" width="5" 
height="6" patternUnits="userSpaceOnUse" shape-rendering="optimizeSpeed">
<svg:rect x="0" y="0" width="5" height="3" fill="rgb(102,204,255)"/>
<svg:rect x="0" y="3" width="5" height="3" fill="rgb(102,204,255)"/>
</svg:pattern>
<svg:rect fill="url(#sbBgPatt)" height="150" width="150" x="100" y="100"/>
</svg:svg>
</fo:instream-foreign-object>

best wishes,

don


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message