xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: sec unclas: Maximum coordinate size
Date Wed, 02 Jun 2004 14:00:54 GMT
Baker1, Jeremy wrote:

> I am attempting to print SVG maps to scale using FOP.  FOP uses Batik to
> render SVG.  It appears that Batik cannot handle six digit coordinates.
> Unfortunately these are common when dealing with maps using a Universal
> Transvers Mercator projection.  For instance the y coordinate of a point is
> its distance from either the North or South Pole in metres.
> My questions are:
> *	am I right in thinking that this limit exists in Batik as used by
> FOP?

Well the problem isnt in Batik, the bug is in the FOP to Batik bridge code. 
Try running your SVG in squiggle to prove this.

> *	is there any way around it (short of recalculating all the SVG with
> all coordinates reduced by a scale factor)?

I believe you are in luck. A very similar issue has already been reported in 
the following bug:


There is a patch you can apply to the source of the maintenance code 0.20.5 
and it may well fix the problem you are having with 6 digit coordinates. 
However, there are no guarantees, since the problem above is to do with 
transforms rather than actual coordinates, so it might not work. Worth a try 
either way.



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

View raw message