Hello,

while browsing the code in svggen/SVGGeneratorContext ( version 215909 )
in line 426.. i found this:

there is a array to hold DecimalFormats, which are initialized to varying length (decimal digits).
The static initilailzer block first sets decimalFormats[ 0 ] = new DecFormat( "#", ...  )   -- no decimals, ok
Then the loop iteratating, from 0, overwrites slot 0 with new DecFormat( "#.# , ... ) -- one digit - looks wrong

I think, the intention is to iterate from 1 to 12, not from 0. The current initialization gives you one more digit
than requested.

greetings
dvholten

Reply via email to