Mantis - Resin
Viewing Issue Advanced Details
5298 minor always 12-03-12 09:52 12-04-12 08:45
cowan  
 
normal  
closed 4.0.32  
fixed  
none    
none 4.0.33  
0005298: PDF report format errors with local that uses comma decimal
PDF reports are corrupt when generated in a locale that formats decimal numbers with a comma, for example 123,45. de_DE and fr_FR.

Rep by F. Degen
related to 0005197closed  pdf restart reports 

Notes
(0006101)
cowan   
12-03-12 09:52   
There are multiple places in the PDF generator code where we are using String.format("%1.4f", x). Specifically, the RGB colors statements. This causes corrupt and unrenderable PDFs.
(0006102)
cowan   
12-04-12 08:45   
php/1t3b