Created attachment 190806 [details] Sample showing a stray line above text LO 7.6.2.1 Fedora 39 with kernel 6.5, KDE Plasma desktop VCL: kf5 (cairo+xcb) There is a discrepancy between paragraph style area extent and character style highlight extent. A character style can be used to temporarily override paragraph style (area) background. Unfortunately character highlight does not extent vertically to the same height as paragraph area, leaving a thin top border over text. The attached sample file shows the effect. The report is a follow-on of https://ask.libreoffice.org/t/how-do-i-highlight-around-text-rather-than-the-text-itself/98136/ It addresses specifically this issue and a workaround is provided. However working on the question revealed a more general problem illustrated in the sample file. There is no easy answer to this general problem since it involves "aesthetics". So opinion of UX, typographers and developers is needed. IMHO, the issue with the top line is a bug. Question is open for intermediate lines inside paragraphs because increased leading may be necessary to enlighten text with some type faces.
In Version: 7.6.3.1 (X86_64) / LibreOffice Community Build ID: c4af5b1259bceea6e979e6fe2435dbee7a5a87c2 CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: CL threaded the thin line is *below* the text in the first paragraph. It is indeed a bug, somewhere there's an off-by-1 error, or a rounding error. Is it a regression? Needs checking in older versions.