Description: (Note: This is not a bug, it is a request for an enhancement.) Hi, I have a request: My Browser "Mozilla Firefox" has a really nice way to underline the words: The lines do not cross the descenders of the letters, but have small gaps. The underscores are shortly interrupted at this point, e.g. in the case of g, q, f or the Slash "/". That's really cool, and typographically more pleasant. Especially with hyperlinks, which are usually typographically underlined, it looks good! Would it be possible to include this feature in LibreOffice Writer? I have attached two screenshots as examples (PNG). Actual Results: Expected Results: Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 157635 [details] Example - way of underlining text How Mozilla Firefox is underlining text.
Created attachment 157636 [details] Example - way of underlining text (2) Text underline - example 2
I agree (especially for a font in big size) Could be an option in Font effect tab of the character dialog.
What's wrong with the Character Style "Internet Link" resp. "Visited Internet Link"? In case you missed those I'd close the request as WFM.
(In reply to Heiko Tietze from comment #4) > What's wrong with the Character Style "Internet Link" resp. "Visited > Internet Link"? In case you missed those I'd close the request as WFM. Please compare with examples in comment 1 or 2. It's not the same.
So it's the descenders clashing with the underline you mean (for example discussed here https://www.indezine.com/products/powerpoint/learn/textandfonts/stop-underlining-your-descenders.html, known in CSS as text-decoration-skip-ink https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-skip-ink). If so, it's not a style but a special function that removes the underline from characters with descenders or maybe some property of the font (not sure that something like underline thickness of zero works).
(In reply to Heiko Tietze from comment #6) > So it's the descenders clashing with the underline you mean Yes > If so, it's not a style but a special function that removes the underline > from characters with descenders or maybe some property of the font (not sure > that something like underline thickness of zero works). But even it is not a style frome a technical point of view, I assume, that most users (for example Christoph and I) will see this as a style. This should be taken into account, if LO decides to implement it.
(In reply to Heiko Tietze from comment #6) > So it's the descenders clashing with the underline you mean Yes that's it! :-) Of course it is not a question of the style sheet. I don't know what the best technical solution would be. Maybe a tickbox in the menu "Character | Font Effects" would be useful. Something like "Do not cross over a glyph". But it would be pretty cool if LO had a function of this kind, because other typographic functions (e.g. OpenType functions) are already supported. (And this is one of LO's strengths)
I don't know how Mozilla folks implement, but the CSS 'text-decoration-skip-ink' attribute looks to be the effect. +1 for an implementation to integrate (supplement) our support for ODF defined: svg:underline-position svg:underline-width svg:underline-thickness svg:underline-type svg:overline-position svg:overline-width svg:overline-thickness svg:overline-type implemented in edit engine. Probably as a 'type' the "skip-ink" would need ODF extension--so we could hold with the document. But this might also be opportunity to pull 'width', 'thickness' and 'position' for overline, underline and strikethrough from the design metrics of the selected font.
Let's do it, presumably it can be stored in ODF (otherwise adding makes sense). Would add this as an option next to Text Decoration: Underline similar to "Individual words".
*** Bug 103995 has been marked as a duplicate of this bug. ***