Hello,
I found two other issues that addresses the win32 locale bug: 1. When drawing a polygon (the star) numbers in the points element are locale dependent, strange the star is drawn correctly. 2. The root document with and height are also locale dendent.
I found the problem that causes #1 but I didn't found the source that writes the root width and height with the units.
There are so many functions with printf that I must think some of them are never called?
Adib.
cvs diff sp-polygon.cpp (in directory C:\projekte\inkscape\src) Index: sp-polygon.cpp =================================================================== RCS file: /cvsroot/inkscape/inkscape/src/sp-polygon.cpp,v retrieving revision 1.2 diff -r1.2 sp-polygon.cpp 20a21
#include "stringstream.h"
99c100 < GString *result; ---
Inkscape::SVGOStringStream os;
101d101 < char *res; 105,106d104 < result = g_string_sized_new (40); < 112c110 < g_string_sprintfa (result, "%g,%g ", bpath [i].x3, bpath [i].y3); ---
os << bpath [i].x3 << "," << bpath [i].y3 << " ";
120,123c118,119 < res = result->str; < g_string_free (result, FALSE); < < return res; ---
return g_strdup (os.str().c_str());
***** CVS exited normally with code 1 *****