Created attachment 152622 [details]
sample source file
In CALC, when printing, previewing, and creating PDF, diagonal lines are sticking out.
Please refer to the attached file.
Created attachment 152623 [details]
Confirmed on Windows 10 Pro 64-bit en-US (1803) with
Version: 18.104.22.168 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
An old 5.1.6. build on hand lays out columns & rows correctly matching the Print Ranges as set.
Bibisected with win32-6.2 to https://git.libreoffice.org/core/+/07609f3ae2890ace29c249fac2fb60b0f0332af6%5E!/
BorderlineFix: Fixed visual updates when scrolling
Adding Cc: to Armin Le Grand
Note: the callout shape marking the bottom range is in the wrong position, so I just looked at the right side.