Summary: | Interrupt underlining for characters with descenders | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Christoph Bartz <chr.b> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | dgp-mail, jlbraga, mihhkel, rb.henschel, shanshandehongxing, vsfoote |
Priority: | medium | ||
Version: | 6.2.8.2 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 71732, 108734 | ||
Attachments: |
Example - way of underlining text
Example - way of underlining text (2) |
Description
Christoph Bartz
2020-02-04 10:50:43 UTC
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. *** |