Hello,
I tried to use this:
<svg width="600" height="70">
<filter id="Border" filterUnits="objectBoundingBox" x="-10%"
y="-10%" width="150%" height="150%">
<feFlood result="white" flood-color="rgb(255,255,255)"
flood-opacity="1"/>
<feMorphology in="SourceAlpha" result="bigger" radius="2 2"
operator="dilate"/>
<feComposite operator="in" in="white" in2="bigger"
result="bigWhiteOne"/>
<feComposite in="SourceGraphic" in2="bigWhiteOne"
operator="over"/>
</filter>
<rect fill="rgb(238,156,0)" x="0" y="0" width="600" height="70"/>
<text font-family="Arial" font-size="48" fill-opacity="1"
fill="rgb(89,89,89)"
stroke-opacity="1" stroke-width="1"
color="rgb(255,255,255)" x="10" y="50" filter="url(#Border)"
id="xweb">Banner Text</text>
</svg>
to render banners for websites: grey text, white border on orange
ground. The result looks nice in WebDraw but using Batik 1.0 the filter
effect is cut on the edges -- the bounding box for the filter is to
small. Changing the [x], [y], [width] and [height] attributes doesn't
seem to help.
This one:
<filter id="Border" filterUnits="userSpaceOnUse" x="-10" y="-10"
width="600" height="70">
is better, but not ok. Even using really big numbers on the attributes
doesn't help.
Any solution/workaround/patch for this?
BTW: is there a way to specify the background color directly? I tried to
find this in some documentations (including the W3C spec) but failed
somehow (maybe it is just too late).
Thanks,
PeterB
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]