Re: DO NOT REPLY [Bug 35918] - [PATCH] Shapes are slightly shifted with respect to lines on larger graphics

2005-09-01 Thread Jeremias Maerki
Thanks. I'm convinced now that I should rewrite PDFNumber.doubleOut(). On 01.09.2005 01:36:12 Thomas DeWeese wrote: Jeremias Maerki wrote: Thanks for the hint. Sounds like rewriting PDFNumber.doubleOut using DecimalFormat makes sense. May I ask what you used before switching to

Re: DO NOT REPLY [Bug 35918] - [PATCH] Shapes are slightly shifted with respect to lines on larger graphics

2005-08-31 Thread Thomas DeWeese
I did a few things on PDFGraphics2D to improve the situation: http://svn.apache.org/viewcvs?rev=240344view=rev BTW Batik saw a significant performance increase when we went to using a DecimalFormat object to write our strings.

Re: DO NOT REPLY [Bug 35918] - [PATCH] Shapes are slightly shifted with respect to lines on larger graphics

2005-08-31 Thread Jeremias Maerki
Thanks for the hint. Sounds like rewriting PDFNumber.doubleOut using DecimalFormat makes sense. May I ask what you used before switching to DecimalFormat? On 31.08.2005 14:32:01 Thomas DeWeese wrote: I did a few things on PDFGraphics2D to improve the situation:

Re: DO NOT REPLY [Bug 35918] - [PATCH] Shapes are slightly shifted with respect to lines on larger graphics

2005-08-31 Thread Thomas DeWeese
Jeremias Maerki wrote: Thanks for the hint. Sounds like rewriting PDFNumber.doubleOut using DecimalFormat makes sense. May I ask what you used before switching to DecimalFormat? Double.toString(double d), I just took a look, whats with the PDFNumber.doubleOut function It rounds