xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JavaTeam <mario_zu...@inet.hr>
Subject Re: printing svg is still too slow. How Microsoft solve that?
Date Tue, 02 May 2006 18:31:03 GMT


thomas.deweese wrote:
> 
> Hi Mario,
> 
> JavaTeam <mario_zupan@inet.hr> wrote on 04/30/2006 05:19:16 AM:
> 
>> I have an outOfMemory problems in a huge charts printing so I tried to 
> solve
>> the thing with  the batik and SVG. I cut my chart in a dozen svg files
>> (about 1MB) and then print it. I don't have OutOfMemory problem any more 
> but
>> still I was wondering how Microsoft can solve  the printing a huge 
> charts,
>> so quick, in a MS Project ? If you tried that product?
> 
>    In general printing a chart is not a lot of real 'geometry', so if you
> can get the output from just simple drawing commands the result should be
> small.  However, I know that there are lots of Java2D operations that will
> force rasteriziation (the use of opacity is the main one - any semi-opaque
> fill, or image).  Once you start rasterizing parts of the page your memory
> requirements for a large chart will go off the chart...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 
> 
> 


You said:
Once you start rasterizing parts of the page your memory
requirements for a large chart will go off the chart...

If I understand I must send the parts of the chart. I tried that before I
use batik, in a
print method of a printable class:
public int print(Graphics _g, PageFormat pageFormat, int pageIndex){
  _g.setClip(x0,y0,xpage,ypage);
}

But it is also memory too heavy.
--
View this message in context: http://www.nabble.com/printing-svg-is-still-too-slow.-How-Microsoft-solve-that--t1532216.html#a4196865
Sent from the Batik - Users forum at Nabble.com.


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


Mime
View raw message