unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Renato Ferreira <renatofdds@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 20360@debbugs.gnu.org
Subject: bug#20360: 24.4; Line Spacing Centering Incorrect
Date: Wed, 29 Apr 2015 09:05:00 -0300	[thread overview]
Message-ID: <87bni7f8cz.fsf@gmail.com> (raw)
In-Reply-To: <83bnil99xu.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Apr 2015 10:23:25 +0300")

Hello Eli, thanks for looking into it!

I think a great description of how it should be implemented can be found
here:
http://www.dev-archive.net/articles/line-height.html

Which is based on the CSS specifications.

I don't know either if any packages rely on it but i think if it did the
change would be aesthetically better in every case i can think of so IMHO
the implementation doesn't have to provide backwards compat.

Thanks again!
Renato

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Renato Ferreira <renatofdds@gmail.com>
>> Cc: 20360@debbugs.gnu.org
>> Date: Fri, 17 Apr 2015 22:01:21 -0300
>> 
>> IMHO it would look so much better with the centered content, that's why
>> most other programs implement it that way. It looks too terrible only
>> after the content, specially with things like highlight and boxing.
>> 
>> Is there no possible way to change it ? Do you suggest any good
>> workaround ?
>
> Doing that would require changes on the C level, because line spacing
> is implemented in the display engine.  AFAICS, it looks like a simple
> change, but Someone(TM) should describe the details of how
> line-spacing should be distributed between above and below the base
> character line, because I have no idea what is TRT here.
>
> Also, I don't know whether any packages out there rely on the current
> implementation; if they do, we will have to introduce an option to
> control this behavior, so that the old behavior could be preserved if
> needed.





  reply	other threads:[~2015-04-29 12:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17  6:41 bug#20360: 24.4; Line Spacing Centering Incorrect Renato Ferreira
2015-04-17 16:20 ` Eli Zaretskii
2015-04-18  1:01   ` Renato Ferreira
2015-04-18  7:23     ` Eli Zaretskii
2015-04-29 12:05       ` Renato Ferreira [this message]
2015-04-29 19:26         ` 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=87bni7f8cz.fsf@gmail.com \
    --to=renatofdds@gmail.com \
    --cc=20360@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).