https://bugs.documentfoundation.org/show_bug.cgi?id=174517
BogdanB <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |[email protected] Blocks| |108741 Regression By| |Andras Timar Keywords|bibisectRequest |bibisected, bisected Version|26.8.3.1 release |26.8.0.3 release --- Comment #3 from BogdanB <[email protected]> --- commit a0c137900953aecc48fb21e76bccc6202e61eccd Author: Andras Timar <[email protected]> Date: Fri May 8 07:16:29 2026 +0200 basegfx: shorten line to centerline notch for concave-back arrows EMF+ custom line caps (and any caller that supplies a notched arrow polygon) left a visible triangular gap between the line shaft and the arrowhead: createAreaGeometryForLineStartEnd shortened the line by the polygon's full Y extent (out to the back wings) even though the centerline exits the polygon interior earlier, at the back-of-cap notch. Detect that case by computing the X=0 crossings of the transformed arrow polygon and reducing the consumed line length to the first crossing above Y=0 when the centerline is interior at Y=0+. Simple convex caps (triangles, squares, etc.) are unaffected because their centerline is interior all the way to the polygon back. Includes basegfx unit tests covering both the notched-arrow case (line must stop at the notch, not the wings) and a simple triangle (line still consumed for full polygon length). Signed-off-by: Andras Timar <[email protected]> Change-Id: I68618c7b2ac7cb5de0a2311d642478218de92652 Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2208 Reviewed-by: Miklos Vajna <[email protected]> (cherry picked from commit fc0881223c9c5a01fb07aeb73bdc849caf981fbc) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205088 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> Andras, please can you take a look? Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=108741 [Bug 108741] [META] Shapes bugs and enhancements -- You are receiving this mail because: You are the assignee for the bug.
