https://issues.apache.org/bugzilla/show_bug.cgi?id=43940

--- Comment #33 from Luis Bernardo <[email protected]> ---
Created attachment 28846
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28846&action=edit
simple test that throws an exception

The attached simple example throws this exception:

Exception in thread "main" java.lang.NumberFormatException: For input string:
"0.005859375"
    at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:458)
    at java.lang.Integer.parseInt(Integer.java:499)
    at
org.apache.xmlgraphics.util.DoubleFormatUtil.formatDoublePrecise(DoubleFormatUtil.java:120)
    at
org.apache.xmlgraphics.util.DoubleFormatUtil.formatDouble(DoubleFormatUtil.java:59)
    at org.apache.fop.pdf.PDFNumber.doubleOut(PDFNumber.java:82)
    at bugs.DoubleFormatUtilBug.main(DoubleFormatUtilBug.java:13)

I am puzzled... This does not happen with FOP-1.0 so I assume this is caused by
the new code associated with this ticket.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to