unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Robert Samal <samal@iuuk.mff.cuni.cz>
Cc: 33648@debbugs.gnu.org
Subject: bug#33648: 25.2; feature request: configurable position of strike-through line
Date: Mon, 31 Aug 2020 11:35:50 +0000	[thread overview]
Message-ID: <CADwFkm=pfxEho=4GmMUMU-61DddZKdZnfTzX5SEMrwK_fCS_YA@mail.gmail.com> (raw)
In-Reply-To: <CADwFkmk6+O0yxeGoo5AJmT5FJ6=F3EtuZz_rngxn0ZkTpKmrKw@mail.gmail.com>

Stefan Kangas <stefan@marxist.se> writes:

> I mucked around a bit and came up with the below diff.  It is probably
> not the correct fix, but does make it slightly better for me.  Someone
> who understands this better would need to investigate this properly.

Actually, looking at this more, I'm starting to get convinced that
LibreOffice is actually just positioning the line at the upper case
glyph height divided by 3 instead of 2.

I had a look also at Firefox, and, if I'm not mistaken, they place the
line at half the height of the lower-case glyph.  (Perhaps that makes
even more sense?)  I used the following link for testing:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strike#Example

Best regards,
Stefan Kangas





  reply	other threads:[~2020-08-31 11:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06  8:20 bug#33648: 25.2; feature request: configurable position of strike-through line Robert Samal
2020-08-31 11:21 ` Stefan Kangas
2020-08-31 11:35   ` Stefan Kangas [this message]
2020-08-31 14:39     ` Eli Zaretskii
2020-08-31 14:40     ` Eli Zaretskii
2020-08-31 14:37   ` Eli Zaretskii
2020-08-31 17:42   ` Stefan Kangas
2020-08-31 18:43     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=pfxEho=4GmMUMU-61DddZKdZnfTzX5SEMrwK_fCS_YA@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=33648@debbugs.gnu.org \
    --cc=samal@iuuk.mff.cuni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).