From: Krzysztof K. <twe...@gm...> - 2014-07-20 04:13:53
|
2014-07-20 2:33 GMT+02:00 Nathan Hurst <nj...@nj...>: > Sounds good, does it close the closed path bug you found earlier? It will, once I write a new path data writer that closes the path exactly regardless of precision. I have committed a basic implementation, but it makes no effort to optimize the length of the resulting string. It also turns out that the C++ standard library and Glib's g_ascii_dtostr() routines are not very good and often write out far more digits than necessary for a correct roundtrip, so I'll probably have to write our own double-formatting code that implements the Grisu2 algorithm. Regards, Krzysztof |