You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by nicolas boire <nb...@yahoo.com> on 2005/11/05 01:15:30 UTC

svg radialGradient , feGaussianBlur ??

Hello,

When i tried to put this svg in a pdf, i obtain a bad
render.
Thanks for your answer !

Version:
xercesImpl-2.2.1.jar xml-apis.jar xalan-2.4.1.jar
batik.jar jimi-1.0.jar
avalon-framework-cvs-20020806.jar
Implementation-Title: Fop
Implementation-Version: 0.20.5

<fo:external-graphic src="test.svg"/>

------------------------------
in test.svg
------------------------------
<filter  id="AI_FlouGaussien_4">
	<feGaussianBlur  stdDeviation="4"></feGaussianBlur>
</filter>
<g id="my_logo" transform="translate(10,10)">
<g id="Calque_1_1_">
	<g style="filter:url(#AI_FlouGaussien_4);">
		
			<radialGradient id="XMLID_5_" cx="-23.4656"
cy="434.9236" r="89.8234" gradientTransform="matrix(1
0 0 1 70.3535 -383.4111)"
gradientUnits="userSpaceOnUse">
			<stop  offset="0" style="stop-color:#F87F11"/>
			<stop  offset="1" style="stop-color:#FF7F00"/>
		</radialGradient>
		<path style="fill:url(#XMLID_5_);"
d="M61.74,121.933c-8.021,5.146-18.795,4.05-23.731-2.357L1.567,72.207
		
c-3.684-4.79-0.629-11.553,6.595-15.166l56.292-28.145c5.995-2.999,14.168-2.439,18.452,1.278l41.666,36.165
		
c5.536,4.81,5.036,12.084-1.393,16.205L61.74,121.933z"/>
	</g>
	<path
style="opacity:0.7;fill:#668187;stroke:#FFFFFF;stroke-width:2.1827;enable-background:new
   ;" d="M60.081,105.736
	
c-7.31,4.684-17.124,3.69-21.618-2.148L5.268,60.435c-3.355-4.361-0.572-10.522,6.005-13.811l51.275-25.64
	
c5.462-2.73,12.908-2.222,16.811,1.167l37.95,32.944c5.046,4.381,4.593,11.007-1.264,14.761L60.081,105.736z"/>
	<path
style="opacity:0.7;fill:#668187;stroke:#FFFFFF;stroke-width:2.1827;enable-background:new
   ;" d="M61.077,97.142
	
c-7.311,4.688-17.126,3.691-21.619-2.148L6.26,51.845c-3.354-4.361-0.574-10.523,6.006-13.813l51.277-25.638
	
c5.46-2.73,12.903-2.221,16.811,1.167l37.951,32.943c5.044,4.382,4.588,11.009-1.268,14.761L61.077,97.142z"/>
	<path
style="fill:#FFFFFF;stroke:#668187;stroke-width:1.6273;"
d="M60.399,87.317c-7.309,4.686-17.124,3.69-21.618-2.148
	
L5.586,42.018c-3.356-4.36-0.574-10.522,6.006-13.813L62.87,2.567c5.46-2.73,12.903-2.222,16.809,1.165l37.951,32.946
	
c5.045,4.381,4.59,11.008-1.268,14.762L60.399,87.317z"/>
	<g>
		<g>
			
				<radialGradient id="XMLID_6_" cx="50.4207"
cy="110.1238" r="88.6924"
gradientTransform="matrix(0.672 0.7406 -0.7406 0.672
147.9941 -107.0227)" gradientUnits="userSpaceOnUse">
				<stop  offset="0" style="stop-color:#000000"/>
				<stop  offset="1" style="stop-color:#FFFFFF"/>
			</radialGradient>
			<polygon style="fill:url(#XMLID_6_);"
points="84.75,31.55 78.041,25.23 63.363,33.341
53.524,23.342 44.053,28.333 
				53.722,38.67 37.753,47.496 44.014,54.787
60.173,45.568 71.026,57.171 80.947,51.21 69.924,40.007
			"/>
		</g>
	</g>
</g>
</g>


	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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


Re: svg radialGradient , feGaussianBlur ??

Posted by "J.Pietschmann" <j3...@yahoo.de>.
nicolas boire wrote:
> When i tried to put this svg in a pdf, i obtain a bad
> render.


The batik bundled with FOP 0.20.5 and the 0.20.5 PDF
renderer don't support gradients. I also don't think
gaussian blur is supported. You can try the development
code which has more advanced support in this area.

J.Pietschmann

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