Re: [Ikvm-developers] C2J.ConvertShape(GraphicsPath) very very slow
Brought to you by:
jfrijters
From: David T. <da...@wi...> - 2018-05-30 13:05:11
|
That's what I was heading toward too. Bit more of a pain that way but yes, should be faster. Thanks - dave From: Volker Berlin [mailto:vb...@in...] Sent: Wednesday, May 30, 2018 12:09 AM To: ikv...@li... Subject: Re: [Ikvm-developers] C2J.ConvertShape(GraphicsPath) very very slow Am 30.05.2018 um 02:03 schrieb David Thielen: Hi all; We have some code that is using the Apache xml-graphics to create a PostScript file. For formatted text we call TextLayout.draw(Graphics2D, double, double) and that works its way down to C2J.ConvertShape(GraphicsPath) which then calls GraphicsPath.get_PathPoints. And GraphicsPath.get_PathPoints is 97% of our total processing time for the app. It's taking seconds, sometimes tens of seconds, for each call. Is there anything we can do about this? Use instead some of the drawString methods. Thanks - dave |