Re: svg probs with 0.19.0 and 0.20.1 - About viewBox

2001-08-29 Thread Jeroen de Zwart

As far as I know viewBox was implemented before Batik came in.
The implementation for the viewBox in Batik still isn't there:

This is what is in org.apache.batik.dom.svg.SVGOMSVGElement.java:

public SVGAnimatedRect getViewBox() {
throw new RuntimeException(" !!! TODO:
SVGOMSVGElement.getViewBox()");
}

Hope that someone can implement it soon.

Jeroen de Zwart


- Original Message -
From: "Maring, Steve" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 14, 2001 3:04 PM
Subject: RE: svg probs with 0.19.0 and 0.20.1


> I just tried FOP 0.20.1 using the fill-rule:evenodd example from
> http://www.w3.org/TR/2001/PR-SVG-20010719/painting.html#FillProperties
with
> a modified DTD reference since the one mentioned didn't exist.  The
> fill-rule:evenodd worked(I must not have been doing it right) but viewBox
> still did not.  The size of the svg in the pdf makes it look like it chose
> to convert this 1200 unit wide graphic into a 1200px graphic at 72dpi(
i.e.
> BIG; not 12cm ).  What version of Batik is in the lib dir?  When I open
this
> svg in the Batik 1.0 svg browser the viewBox works.  The Batik 1.0 distro
> now comes with some umteen jars.  Anybody now which ones I need short of
> sticking every single one in a classpath?
>
>
> 
> http://www.w3.org/1999/XSL/Format";>
> 
>  page-height="11in" page-width="8.5in">
> 
> 
> 
> 
> 
> 
>  src="file:evenodd.svg"/>
> 
> 
> 
> 
>
> 
>  "http://www.w3.org/TR/2000/CR-SVG-2802/DTD/svg-2802.dtd";>
> 
>   Example fillrule-evenodd - demonstrates fill-rule:evenodd
>fill="none" stroke="blue" />
>   
>  />
>   
>   
> 
>  overflow="visible"  />
> 
>  overflow="visible"  />
>     
> 
>     
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
> 
>
> -Original Message-
> From: Michel Lehon [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 4:30 AM
> To: [EMAIL PROTECTED]
> Subject: RE: svg probs with 0.19.0
>
>
> I thought FOP 0.19.0 + used Batik for SVG.
>
> Am I Wrong ?
>
> Michel.
>
> > -Original Message-
> > From: Alex McLintock [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, 14 August, 2001 10:22
> > To: [EMAIL PROTECTED]
> > Subject: Re: svg probs with 0.19.0
> >
> >
> >  --- "Maring, Steve" <[EMAIL PROTECTED]> wrote:
> > > I'm not sure why this is happening.  Maybe somebody can help me?  My
svg
> > > gets improperly generated through FOP 0.19.0 (I have not tried
> > others).  The
> > > viewBox seems to be ignored and fill-rule:evenodd does not
> > work.  Is this a
> > > Batik thing?  When I run the rasterizer in Batik 1.0 it seems
> > to understand
> > > what I'm asking for.  The Adobe SVG viewer thinks my svg is OK too.
> > >
> >
> > I don't know for certain but I don't think viewBox is implemented yet -
> > though I could be thinking of V 0.18
> >
> > I think it is fair to say that a lot of the SVG spec is not yet
> > implemented.
> >
> > Alex
> >
> >
> > =
> > Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in
London
> > OpenWeb Analysts Ltd, http://www.OWAL.co.uk/
> > SF and Computing Book News and Reviews: http://news.diversebooks.com/
> > Get Your XML T-Shirt  at http://www.inversity.co.uk/
> >
> > 
> > Do You Yahoo!?
> > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> > or your free @yahoo.ie address at http://mail.yahoo.ie
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: svg probs with 0.19.0 and 0.20.1

2001-08-14 Thread Maring, Steve

I just tried FOP 0.20.1 using the fill-rule:evenodd example from
http://www.w3.org/TR/2001/PR-SVG-20010719/painting.html#FillProperties with
a modified DTD reference since the one mentioned didn't exist.  The
fill-rule:evenodd worked(I must not have been doing it right) but viewBox
still did not.  The size of the svg in the pdf makes it look like it chose
to convert this 1200 unit wide graphic into a 1200px graphic at 72dpi( i.e.
BIG; not 12cm ).  What version of Batik is in the lib dir?  When I open this
svg in the Batik 1.0 svg browser the viewBox works.  The Batik 1.0 distro
now comes with some umteen jars.  Anybody now which ones I need short of
sticking every single one in a classpath?



http://www.w3.org/1999/XSL/Format";>















http://www.w3.org/TR/2000/CR-SVG-2802/DTD/svg-2802.dtd";>

  Example fillrule-evenodd - demonstrates fill-rule:evenodd
  
  

  
  




















  


-Original Message-
From: Michel Lehon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 4:30 AM
To: [EMAIL PROTECTED]
Subject: RE: svg probs with 0.19.0


I thought FOP 0.19.0 + used Batik for SVG.

Am I Wrong ?

Michel.

> -Original Message-
> From: Alex McLintock [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 14 August, 2001 10:22
> To: [EMAIL PROTECTED]
> Subject: Re: svg probs with 0.19.0
>
>
>  --- "Maring, Steve" <[EMAIL PROTECTED]> wrote:
> > I'm not sure why this is happening.  Maybe somebody can help me?  My svg
> > gets improperly generated through FOP 0.19.0 (I have not tried
> others).  The
> > viewBox seems to be ignored and fill-rule:evenodd does not
> work.  Is this a
> > Batik thing?  When I run the rasterizer in Batik 1.0 it seems
> to understand
> > what I'm asking for.  The Adobe SVG viewer thinks my svg is OK too.
> >
>
> I don't know for certain but I don't think viewBox is implemented yet -
> though I could be thinking of V 0.18
>
> I think it is fair to say that a lot of the SVG spec is not yet
> implemented.
>
> Alex
>
>
> =
> Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London
> OpenWeb Analysts Ltd, http://www.OWAL.co.uk/
> SF and Computing Book News and Reviews: http://news.diversebooks.com/
> Get Your XML T-Shirt  at http://www.inversity.co.uk/
>
> 
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: svg probs with 0.19.0

2001-08-14 Thread Michel Lehon

I thought FOP 0.19.0 + used Batik for SVG.

Am I Wrong ?

Michel.

> -Original Message-
> From: Alex McLintock [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 14 August, 2001 10:22
> To: [EMAIL PROTECTED]
> Subject: Re: svg probs with 0.19.0
>
>
>  --- "Maring, Steve" <[EMAIL PROTECTED]> wrote:
> > I'm not sure why this is happening.  Maybe somebody can help me?  My svg
> > gets improperly generated through FOP 0.19.0 (I have not tried
> others).  The
> > viewBox seems to be ignored and fill-rule:evenodd does not
> work.  Is this a
> > Batik thing?  When I run the rasterizer in Batik 1.0 it seems
> to understand
> > what I'm asking for.  The Adobe SVG viewer thinks my svg is OK too.
> >
>
> I don't know for certain but I don't think viewBox is implemented yet -
> though I could be thinking of V 0.18
>
> I think it is fair to say that a lot of the SVG spec is not yet
> implemented.
>
> Alex
>
>
> =
> Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London
> OpenWeb Analysts Ltd, http://www.OWAL.co.uk/
> SF and Computing Book News and Reviews: http://news.diversebooks.com/
> Get Your XML T-Shirt  at http://www.inversity.co.uk/
>
> 
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: svg probs with 0.19.0

2001-08-14 Thread Alex McLintock

 --- "Maring, Steve" <[EMAIL PROTECTED]> wrote: 
> I'm not sure why this is happening.  Maybe somebody can help me?  My svg
> gets improperly generated through FOP 0.19.0 (I have not tried others).  The
> viewBox seems to be ignored and fill-rule:evenodd does not work.  Is this a
> Batik thing?  When I run the rasterizer in Batik 1.0 it seems to understand
> what I'm asking for.  The Adobe SVG viewer thinks my svg is OK too.
> 

I don't know for certain but I don't think viewBox is implemented yet - 
though I could be thinking of V 0.18

I think it is fair to say that a lot of the SVG spec is not yet implemented.

Alex


=
Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ 
SF and Computing Book News and Reviews: http://news.diversebooks.com/
Get Your XML T-Shirt  at http://www.inversity.co.uk/


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: svg probs with 0.19.0

2001-08-13 Thread Keiron Liddle

Steve,
With the latest version (0.20.1) I get the same result with the awt
previewer and the pdf output. THis means that at least the even-odd problem
is fixed.
As for the viewBox - I'm not really sure how it should work and applies
when embedding inside xsl-fo. If you simply need to change the size you
could scale it.

On Mon, 13 Aug 2001 20:45:03 "Maring, Steve" wrote:
> I'm not sure why this is happening.  Maybe somebody can help me?  My svg
> gets improperly generated through FOP 0.19.0 (I have not tried others). 
> The
> viewBox seems to be ignored and fill-rule:evenodd does not work.  Is this
> a
> Batik thing?  When I run the rasterizer in Batik 1.0 it seems to
> understand
> what I'm asking for.  The Adobe SVG viewer thinks my svg is OK too.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]