RE: Why doesn't SVG viewBox work?

2001-11-05 Thread Scott Moore
Okay, I don't know why this keeps getting posted, but I'm not sending it. My apologies to the list groups. Scott -Original Message- From: Scott Moore [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 8:44 PM To: FOP List; Batik Users Subject: Why doesn't S

Why doesn't SVG viewBox work?

2001-11-05 Thread Scott Moore
Hi all, I embedding some SVG into my XSL-FO to create small graphics. But it doesn't seem like the viewBox attribute works. For instance: http://www.w3.org/2000/svg"; width="1in" height="1in" viewBox="0 0 100 100" preserveAspectRatio="none"> When I run the above thru F

Re: Why doesn't SVG viewBox work?

2001-11-05 Thread Keiron Liddle
Hi Scott, For some reason batik does not apply the top level viewBox transformation when drawing into the Graphics2D. In this case the Graphics2D is output to pdf. As you can see from this diff: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/render/pdf/PDFRenderer.java.diff?r1=1.86

Why doesn't SVG viewBox work?

2001-11-03 Thread Scott Moore
Hi all, I embedding some SVG into my XSL-FO to create small graphics. But it doesn't seem like the viewBox attribute works. For instance: http://www.w3.org/2000/svg"; width="1in" height="1in" viewBox="0 0 100 100" preserveAspectRatio="none"> When I run the above thru F

RE: Why doesn't SVG viewBox work?

2001-11-02 Thread Scott Moore
: Vincent Hardy [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 11:56 AM To: Batik Users Cc: FOP List Subject: Re: Why doesn't SVG viewBox work? Scott, Batik displays your example ok (I checked the current code base, 1.1rc2 and 1.1rc3). Do you see only a quarter of the image (uppe

Re: Why doesn't SVG viewBox work?

2001-11-02 Thread Vincent Hardy
Scott, Batik displays your example ok (I checked the current code base, 1.1rc2 and 1.1rc3). Do you see only a quarter of the image (upper left?). V. Scott Moore wrote: > > Hi all, > > I embedding some SVG into my XSL-FO to create small graphics. But it > doesn't seem like the viewBox attrib

Re: Why doesn't SVG viewBox work?

2001-11-02 Thread Klaus Malorny
Scott Moore wrote: > Klaus, > > Could you give me an example of the transformations you used? Right now, > I'm just specifying the width and height in inches and more or less guessing > the number of pixels in my view area. Not the most robust way to do it. > > Thanks, > Scott Well, I just

RE: Why doesn't SVG viewBox work?

2001-11-02 Thread Scott Moore
lorny [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 6:44 AM To: [EMAIL PROTECTED] Subject: Re: Why doesn't SVG viewBox work? Scott Moore wrote: > Hi all, > > > > I embedding some SVG into my XSL-FO to create small graphics. But it > doesn't seem like

Re: Why doesn't SVG viewBox work?

2001-11-02 Thread Klaus Malorny
Scott Moore wrote: > Hi all, > > > > I embedding some SVG into my XSL-FO to create small graphics. But it > doesn't seem like the viewBox attribute works. For instance: > > [...] > > When I run the above thru FOP, my circle is clipped. The bottom and right > parts of the circle are no

Why doesn't SVG viewBox work?

2001-11-02 Thread Scott Moore
Hi all,   I embedding some SVG into my XSL-FO to create small graphics.  But itdoesn't seem like the viewBox attribute works.  For instance:   http://www.w3.org/2000/svg" width="1in" height="1in"viewBox="0 0 100 100" preserveAspectRatio="none">  fill="none"/>        When I run th