[Libreoffice-bugs] [Bug 134128] caps on dashes are missing in edit mode

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 3 13:33:25 UTC 2020


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

--- Comment #8 from Regina Henschel <rb.henschel at t-online.de> ---
The error is in /vcl/win/gdi/gdiimpl.cxx#2351
        aPen.SetDashCap(Gdiplus::DashCapFlat);
There unconditionally "Flat" is set.

Dash caps use the same setting as the line cap (line caps are in
switch(eLineCap) #2300). That was clarified in ODF 1.3.

Unfortunately it is not enough to simple use a switch here. The GDI dash cap is
taken away from the dash, but the ODF dash cap is added to the dash. So likely
a tweak to aDashArray is needed, similar to that used in
/core/oox/source/drawingml/lineproperties.cxx for OOXML import.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201203/68c28c38/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list