Description: This is a bug that exasperates me because the rendering on pdf is affected; When a border is added to a frame, the top and left lines are shifted by one pixel leaving the background of the frame on both edges. Steps to Reproduce: 1. Create a new Writer document. 2. Insert a frame. 3. Fill the frame area with a color. 4. Add all four borders with another color. Actual Results: Top and left border lines have a one-pixel gap with the frame edges. Expected Results: Top and left border lines shouldn't show any gap with the frame edges. Reproducible: Always User Profile Reset: Yes Additional Info: This is not a software rendering issue since the gap is also seen after exporting the document to pdf format. Furthermore, the tables are not affected. This is a result of a wrong calculation in the placement of the border relative to the frame. This behavior is all the more damaging since frames are often used as decorative elements.
Created attachment 180833 [details] 1-pixel gap between border and frame edges
Created attachment 180834 [details] Test document with both frame and table for comparison
I confirm it with Version: 7.3.5.1 (x64) / LibreOffice Community Build ID: d56c1c78db15939340c3db8ee3b6667832313d23 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL