PDF-Writer icon indicating copy to clipboard operation
PDF-Writer copied to clipboard

[bug][fix] DetermineDoubleTrimmedLength

Open IngMak opened this issue 8 years ago • 3 comments

IngMak avatar Mar 08 '16 17:03 IngMak

when writing double number some operating system have number separator "." and others "," (without ") because of that i get a little headache.

OMG ! the problem is bigger than I thought.

/Rect /Pages /MediaBox

got "," correct value is "." (without ")

PD: PDFWriter have good code and i like it. thanks to the author and contributors.

IngMak avatar Mar 08 '16 18:03 IngMak

hello, i solve the issue ... on my c++ project define: setlocale(LC_ALL,"C");

it works !!!

IngMak avatar Mar 11 '16 20:03 IngMak

Thanks. At some point i'd like to look into this and make number writing with my own code rather than rely on locale (as it seems to happen). If i remember the code correclty that shouldn't be too tough, i tend to funnel all writing via the ObjectsContext anyways.

galkahana avatar Mar 13 '16 06:03 galkahana