Comment 7 for bug 1294784

Revision history for this message
David Mathog (mathog) wrote :

I had forgotten about this one and the patch was never committed. In the interim style.cpp was completely rewritten. An updated patch was just committed as revision 14167.

While I agree with ScislaC that clamping the computed value at the font at 1.0e-32 is a workaround, it does make some sense to do it that way. Otherwise every other part of the code which may at some point need to divide by the font size is going to have to do the same check anyway. As far as I can tell this patch does not change the font size when the file is saved as SVG, it still stays at zero.

I looked again and still was not able to find the place where the bug acts. Without the patch, when the drawing-text.cpp routines were modified so that they return immediately without doing anything the problem was still present when the test file was opened.