|
From: | Stefan Kangas |
Subject: | bug#33648: 25.2; feature request: configurable position of strike-through line |
Date: | Mon, 31 Aug 2020 11:21:09 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
tags 33648 + confirmed thanks Robert Samal <samal@iuuk.mff.cuni.cz> writes: > When I use set-face-attribute to give some text a strike-through > attribute, I see that emacs behaves differently from other pieces of > software: Apparently, the line is drawn at the level of half the glyph's > height -- which causes the line to be just touching letters like "a", > "c", "e", ... and it isn't perceived as striking the text out (at least > not by me). > > In comparison, web browsers interpreting html strike tag make the > line at the level of half of the "small lowercase letters" -- basically > at the level of the line in lowercase "e". The same is done by Libre > Office ... and others. > > My suggestion is to make this configurable in some way. I'm not sure, > if it would be better to have a global option for all files, or > if "(set-face-attribute ... :strike-through" should accept more choices > to make each line configurable. (I personally would change all of my > striking lines, if possible.) > > Thanks in advance for considering this, for some uses (in particular > org-mode) this would help a lot. This is what I see on current master:
txtVzfB5q021c.txt
Description: Text document
bug-33648-emacs-orig.png
Description: PNG image
bug-33648-libreoffice.png
Description: PNG image
txtEKtaPXoBRp.txt
Description: Text document
bug-33648-with-patch.png
Description: PNG image
txtKz7h41kdgX.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |