
On 5-10-2013 0:22, Krzysztof Kosiński wrote:
2013/10/4 Johan Engelen <jbc.engelen@...2592...>:
On 4-10-2013 18:30, Krzysztof Kosiński wrote:
The concept of using a viewBox that makes user units equivalent to inches or other large units is severely broken, because currently we use only 6 digits of precision for all coordinates. That was sufficient for pixels, but is definitely not sufficient for a lossless conversion between pixels and inches.
Assuming 90dpi, you're saying that 4 digits of precision in terms of pixels is not enough in an inch-document-unit document? Can you provide an example of where it goes wrong?
See the 2nd bug: https://bugs.launchpad.net/inkscape/+bug/1235279
Maybe I'm not understanding this correctly, but insufficient precision seems to be a likely cause.
See my comment #4 in that bug report. There is a funny calculation there that should not be there I feel. And I think it all happens because the page height spinbox actually has a different value than the one in XML. Then with that funny calculation --> error. If you change the funny calculation to something more logical, it all works fine. (not quite, because of default units/etc, but as a proof of bug ;)
I don't know quite why that funny calculation is there, so I hope Matthew can have a look at it.
Cheers, Johan