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

--- Comment #10 from Dave Gilbert <freedesk...@treblig.org> ---
I'm chasing this backwards from the XML output, the points come from 

SdrEdgeObj::ImpCalcEdgeTrack

and it's called very differently in the good and bad cases; I'll follow it back
to see why.

In the good case we see (with a bunch of debug):

SdrEdgeObj::ImpCalcEdgeTrack entry: 0x2637f20 eKind: 3 Angles:27000 / 9000
Points:14829,2381 / 16086,3766 BoundRects: 2758x921@(13450,1462) /
3223x1039@(14475,3765) BewareRects: 3758x1921@(12950,962) /
4223x2039@(13975,3265)
  bezier>2 case(Z / 4) Pts: 14829,2381 / 14829,3074 / 16086,3074 / 16086,3766
d1: 0 / 693 d2: 0 / -692

in the bad case it tries a whole bunch of different configurations, 5 point, 4
point Z, 3 point and finally a 4 point U; in all cases the bound and beware
rects fro the destination is screwy compared to the original:
SdrEdgeObj::ImpCalcEdgeTrack entry: 0x42daf20 eKind: 3 Angles:27000 / 0
Points:14829,2381 / 16086,3766 BoundRects: 2758x921@(13450,1462) /
1x1@(16086,3766) BewareRects: 3758x1921@(12950,962) / 1x1@(16086,3766)
  bezier>2 case(? / 5) Pts: 14829,2381 / 14829,3324 / 16086,3766 / 16086,3766
d1: 0 / 943 d2: 0 / 0
SdrEdgeObj::ImpCalcEdgeTrack entry: 0x42daf20 eKind: 3 Angles:27000 / 9000
Points:14829,2381 / 16086,3766 BoundRects: 2758x921@(13450,1462) /
1x1@(16086,3766) BewareRects: 3758x1921@(12950,962) / 1x1@(16086,3766)
  bezier>2 case(Z / 4) Pts: 14829,2381 / 14829,3324 / 16086,3324 / 16086,3766
d1: 0 / 943 d2: 0 / -442
SdrEdgeObj::ImpCalcEdgeTrack entry: 0x42daf20 eKind: 3 Angles:27000 / 18000
Points:14829,2381 / 16086,3766 BoundRects: 2758x921@(13450,1462) /
1x1@(16086,3766) BewareRects: 3758x1921@(12950,962) / 1x1@(16086,3766)
  bezier>2 case(L / 3) Pts: 14829,2381 / 14829,3766 / 14829,3766 / 16086,3766
d1: 0 / 1385 d2: -1257 / 0
SdrEdgeObj::ImpCalcEdgeTrack entry: 0x42daf20 eKind: 3 Angles:27000 / 27000
Points:14829,2381 / 16086,3766 BoundRects: 2758x921@(13450,1462) /
1x1@(16086,3766) BewareRects: 3758x1921@(12950,962) / 1x1@(16086,3766)
  bezier>2 case(U / 4) Pts: 14829,2381 / 14829,3766 / 16086,3766 / 16086,3766
d1: 0 / 1385 d2: 0 / 0

I'll chase that back.

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

Reply via email to