Comment 32 for bug 1384915

Revision history for this message
Alvin Penner (apenner) wrote :

@ScislaC - using 0.91pre3 I have not been able to reliably reproduce the problems reported in the original report. Since the release of the original bug report there have been three changes made, elsewhere, which all lead to a simplification of the problem, so the original report is no longer relevant to 0.91pre3.
1. the original default.svg file did not have a viewbox defined. The current one does, in 0.91pre3. This eliminates an unnecessary conversion from a single precision page size to a double precision viewbox, which was probably the source of most of the original problem.
2. the original default.svg file specified page size in px. The current one specifies it in mm, which is consistent with the fact that the page size is A4. This eliminates an unnecessary conversion from a non-integer px size to an integer mm size, where the resulting mm size quite possibly would not be an integer because these variables are single-precision not double.
3. since the original report, the live switching of document units has been disabled, so that it is no longer possible to change the units that the viewbox is expressed in, after the file is loaded. This eliminates another piece of conversion code which was possibly causing a problem with precision.

in any event I cannot reproduce the original problem. Was there a specific issue that you wanted to address?