https://bugs.documentfoundation.org/show_bug.cgi?id=148669

--- Comment #6 from Mike Kaganski <[email protected]> ---
The problem begins at SdrCaptionPrimitive2D::SdrCaptionPrimitive2D, where it
creates an inversion of the matrix to transform the tail polygon to unit. The
inversion fails (ludcmp returns true, because on one of iterations, fValBB is 0
- don't ask, I do not understand what it means :)); and the
SdrCaptionPrimitive2D ctor happily applies the uninverted matrix to the thing,
scaling it up instead of scaling it down.

The construction of the matrix happens in
ViewContactOfSdrCaptionObj::createViewIndependentPrimitive2DSequence, using

    createScaleShearXRotateTranslateB2DHomMatrix(21000-14922, 32253-32253, 0,
0, 14922, 32253)

It looks like the problem is with the zero vertical scale. Possibly in case of
such a failure, tail should be reset to empty? Would it be a reasonable thing
for something that is intended to have no height (or no width), i.e.,
invisible? Then in SdrCaptionPrimitive2D::create2DDecomposition, it would not
be scaled up using the same matrix, and would not result in some huge values...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to