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: 184.108.40.206 (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.