You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Andreas Bielk <an...@codesense.com> on 2001/10/10 23:22:34 UTC

and stroke-opacity

Hi all!

I can´t figure out if this is a bug in Adobe´s viewer (3.0b),
or if it is a SVG problem; and if it is a SVG problem, why
does it work in Batik?

The following renders (transcodes) correctly i Batik, but not in AV3:

<?xml version="1.0" encoding="iso-8859-1"?>
<svg width="500" height="200" xmlns="http://www.w3.org/2000/svg">
  <g>
    <text x="70"
          y="120"
          stroke-opacity="0.3"
          stroke="black"
          fill-opacity="0.3"
          fill="#909090"
          font-weight="bold"
          font-size="50"
          text-anchor="start" >
      Test
    </text>
  </g>
</svg>

(The "stroked" text appears at 0,0 but the "filled" text at 70,120)

If I remove stroke-opacity="0.3" it works! Any ideas, anyone?

/Andreas Bielk

/**********************************************************
                  C o d e S e n s e  A B
       Marinens väg 30, SE-136 40 Haninge, Sweden
Office: +46 (0)8 - 707 32 30  GSM: +46 (0)70 - 532 92 01
                 http://www.codesense.com
***********************************************************/
    (PGP public key available at: search.keyserver.net)


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


RE: and stroke-opacity

Posted by Andreas Bielk <an...@codesense.com>.
> if the stroked part of the text is not at the same place than the filled
> text, I believe Adobe has a bug.

Yes, I was a bug, and it´s fixed in the latest beta.

BTW, we are soon releasing a product that relies heavyly
on Batik (SVGOM and Transcoding), I´ll post an write-up
about the product, and the experience with Batik.

/Andreas

/**********************************************************
                  C o d e S e n s e  A B
       Marinens väg 30, SE-136 40 Haninge, Sweden
Office: +46 (0)8 - 707 32 30  GSM: +46 (0)70 - 532 92 01
                 http://www.codesense.com
***********************************************************/
    (PGP public key available at: search.keyserver.net)


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


Re: and stroke-opacity

Posted by Thierry Kormann <tk...@ilog.fr>.
On Wednesday 10 October 2001 23:22, Andreas Bielk wrote:
> Hi all!
>
> I can´t figure out if this is a bug in Adobe´s viewer (3.0b),
> or if it is a SVG problem; and if it is a SVG problem, why
> does it work in Batik?
>
> The following renders (transcodes) correctly i Batik, but not in AV3:
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <svg width="500" height="200" xmlns="http://www.w3.org/2000/svg">
>   <g>
>     <text x="70"
>           y="120"
>           stroke-opacity="0.3"
>           stroke="black"
>           fill-opacity="0.3"
>           fill="#909090"
>           font-weight="bold"
>           font-size="50"
>           text-anchor="start" >
>       Test
>     </text>
>   </g>
> </svg>
>
> (The "stroked" text appears at 0,0 but the "filled" text at 70,120)
>
> If I remove stroke-opacity="0.3" it works! Any ideas, anyone?

if the stroked part of the text is not at the same place than the filled 
text, I believe Adobe has a bug.

Thierry.


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