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

2012-03-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=35918

Glenn Adams  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #5 from Glenn Adams  2012-04-01 06:42:08 UTC ---
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


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. 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
> > DecimalFormat?
> 
> Double.toString(double d),
> 
> I just took a look, whats with the PDFNumber.doubleOut function
> It rounds numbers n+0.05 > x > n-0.05 to n (where n is an integer)?
> That seems really hacky ;)
> 
> Also I can almost assure you that NumberFormat will be _much_
> faster than the current code.
> 
> > On 31.08.2005 14:32:01 Thomas DeWeese wrote:
> > 
> >>>I did a few things on PDFGraphics2D to improve the situation:
> >>>http://svn.apache.org/viewcvs?rev=240344&view=rev
> >>
> >>BTW Batik saw a significant performance increase when we went
> >>to using a DecimalFormat object to write our strings.
> > 
> > 
> > 
> > 
> > Jeremias Maerki
> > 



Jeremias Maerki



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 numbers n+0.05 > x > n-0.05 to n (where n is an integer)?
That seems really hacky ;)

   Also I can almost assure you that NumberFormat will be _much_
faster than the current code.


On 31.08.2005 14:32:01 Thomas DeWeese wrote:


I did a few things on PDFGraphics2D to improve the situation:
http://svn.apache.org/viewcvs?rev=240344&view=rev


   BTW Batik saw a significant performance increase when we went
to using a DecimalFormat object to write our strings.





Jeremias Maerki





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:
> > http://svn.apache.org/viewcvs?rev=240344&view=rev
> 
> BTW Batik saw a significant performance increase when we went
> to using a DecimalFormat object to write our strings.



Jeremias Maerki



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=240344&view=rev


   BTW Batik saw a significant performance increase when we went
to using a DecimalFormat object to write our strings.


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

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35918


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 23:04 ---
I did a few things on PDFGraphics2D to improve the situation:
http://svn.apache.org/viewcvs?rev=240344&view=rev

I didn't actually apply your patch but followed your example while refactoring
the code. Thanks all the same!

Your test case looks good to me now.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


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

2005-07-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35918





--- Additional Comments From [EMAIL PROTECTED]  2005-07-30 21:31 ---
Created an attachment (id=15829)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15829&action=view)
sample FO, SVG and resulting PDF

This bug is more complex than I have thought firstly.
My patch helps only when using the Batik rasterizer (Batik 1.6 with patched
pdf-transcoder.jar (alias fop-transcoder-allinone.jar in fop trunk)).
commandline: java -jar batik-rasterizer.jar -m application/pdf bug35918.svg

But if you use the FOP directly, the bug still exists.
commandline: fop bug35918.fo bug35918.pdf

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


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

2005-07-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35918


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED




--- Additional Comments From [EMAIL PROTECTED]  2005-07-30 11:33 ---
Thanks for the patch. Do you have an example that shows the effect of your 
change that you could attach to this issue?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


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

2005-07-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35918





--- Additional Comments From [EMAIL PROTECTED]  2005-07-28 17:51 ---
Created an attachment (id=15816)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15816&action=view)
patch to write transformation matrix with higher precision


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.