Bug 170482 - Highlighting is misaligned too low
Summary: Highlighting is misaligned too low
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.7.2 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-26 13:26 UTC by Darv Dombach
Modified: 2026-02-01 14:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen image of highlighting (71.81 KB, image/jpeg)
2026-01-26 13:34 UTC, Darv Dombach
Details
Sample hightlighting in two fonts (18.53 KB, application/vnd.oasis.opendocument.text)
2026-01-28 22:37 UTC, Darv Dombach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darv Dombach 2026-01-26 13:26:42 UTC
Description:
When highlighting text, the highlight is aligned just perfectly or just slightly below the ascenders, and well below the descenders to the top of the ascenders in the line below.

Steps to Reproduce:
1. Type a paragraph of text
2. Highlight a word in the middle of the paragrph
3.

Actual Results:
The highlight is the correct height, but it is aligned with the top of the text

Expected Results:
The highlight should appear centered on the line with an equal amount of highlighting above the ascenders and below the descenders.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.7.2 (X86_64) / LibreOffice Community
Build ID: 5cbfd1ab6520636bb5f7b99185aa69bd7456825d
CPU threads: 8; OS: macOS 15.7.3; UI render: Skia/Raster; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Darv Dombach 2026-01-26 13:34:33 UTC
Created attachment 205176 [details]
Screen image of highlighting
Comment 2 Telesto 2026-01-28 22:24:21 UTC
Thanks for the bug report. Is it possible to add a sample file? There are so many variables, fonttype, fontsize, paragraph spacing, file format and so on affecting layout.. A sample file reduces the number of variables a lot
Comment 3 Darv Dombach 2026-01-28 22:37:07 UTC
Created attachment 205244 [details]
Sample hightlighting in two fonts

I have attached a sample file. I see your point. I prepared it with my original fount, and also added a paragraph with another, and the highlighting responded very differently to the two.
Comment 4 Telesto 2026-01-30 19:58:10 UTC
FWIW: Thanks for the sample file. I lack Garamond Premier Pro on my system. So currently hoping someone being able to test this..
Comment 5 LeroyG 2026-02-01 14:35:01 UTC
(In reply to Darv Dombach from comment #3)
> the highlighting responded very differently to the two.
After testing with a few fonts, it seems to me that highlighting limits are a font feature, not a LO bug.