Description: LibreOffice has a feature called page line-spacing, which is expected to make all text follow an invisible grid. See help description: https://help.libreoffice.org/latest/en-US/text/swriter/guide/registertrue.html?DbPAR=WRITER "The Reference Style sets an invisible vertical (typographical) grid, using the line distance specified in the style. All paragraphs that have Page line-spacing activated will use that line distance, aligning the bottom of a text line to the next grid line, regardless of font size or presence of graphics." However, if I use a column section in a text document, the text in the column is not aligned with this invisible grid. The line distance inside the columns seems correct, but the offset of the text positioning seems off, and so the text baseline is different than expected. Steps to Reproduce: 1. Open the attached test document in Writer 2. Switch to Multiple-page view so you can compare the two pages' text alignment. 3. Compare the baseline of the text inside the columns with the baseline of the text on the second page, next to the column. -> Text's baseline inside the column is not aligned properly, compared to the text outside of the column. Actual Results: Text's baseline inside the columns is off compared to text alignment outside of the columns. Expected Results: Text's baseline inside the columns should be aligned with the invisible grid defined by page line-spacing. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.2.6.2 (X86_64) / LibreOffice Community Build ID: 729c5bfe710f5eb71ed3bbde9e06a6065e9c6c5d CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: CL threaded
Created attachment 204671 [details] Test document
Created attachment 204672 [details] Screen recording showing the issue. On the screen recording, I used a small window as a ruler to show how the text baseline between the two pages are not aligned with each other.
Created attachment 204673 [details] Screen shot of the issue with baseline grid shown In LibreOffice 26.8 (master, unreleased yet), there is a new Baseline Grid feature with which the page line-spacing's invisible grid can be displayed. With the grid visible, the issue is easier to see. The screenshot shows that the text inside the columns is not aligned properly with the displayed baseline grid, while the text outside the columns is aligned correctly.
I confirm it with Version: 25.8.3.2 (X86_64) Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL threaded
Tamás Zolnai committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2b47f4090df08fd70b6f51bafd11acc56b3998df tdf#93785, tdf#170000: Fix page line-spacing formatting in sections and frames. It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.