zippy1978 / ghost4j

Java wrapper for Ghostscript C API + PS/PDF document handling API
http://www.ghost4j.org
GNU Lesser General Public License v3.0
64 stars 39 forks source link

FIxing some ClassCastException with InkAnalyzer (method parseValue) #18

Closed BusyBusinessCat closed 11 years ago

BusyBusinessCat commented 11 years ago

When I tried to analyze a page for ink coverage, the "parseValue" method was throwing some ClassCastException (Long to Double). It seems like the DecimalFormat.parse method was returning Long values. It might be a windows specific bug.

n.b : the concerned test cases was also failing.

zippy1978 commented 11 years ago

Thank you !