From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Renato Ferreira Newsgroups: gmane.emacs.bugs Subject: bug#20360: 24.4; Line Spacing Centering Incorrect Date: Wed, 29 Apr 2015 09:05:00 -0300 Message-ID: <87bni7f8cz.fsf@gmail.com> References: <87bnindznt.fsf@gmail.com> <83h9se9164.fsf@gnu.org> <87a8y62qse.fsf@gmail.com> <83bnil99xu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430309067 9398 80.91.229.3 (29 Apr 2015 12:04:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2015 12:04:27 +0000 (UTC) Cc: 20360@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 14:04:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YnQit-0003bi-MY for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2015 14:04:15 +0200 Original-Received: from localhost ([::1]:38504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnQin-0007MD-QZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2015 08:04:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnQik-0007M7-DS for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2015 08:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnQig-0004Z5-CC for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2015 08:04:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnQig-0004Z1-8m for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2015 08:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YnQif-0002Yd-VR for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2015 08:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Renato Ferreira Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Apr 2015 12:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20360-submit@debbugs.gnu.org id=B20360.14303090319815 (code B ref 20360); Wed, 29 Apr 2015 12:04:01 +0000 Original-Received: (at 20360) by debbugs.gnu.org; 29 Apr 2015 12:03:51 +0000 Original-Received: from localhost ([127.0.0.1]:55746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnQiV-0002YE-4f for submit@debbugs.gnu.org; Wed, 29 Apr 2015 08:03:51 -0400 Original-Received: from mail-qk0-f181.google.com ([209.85.220.181]:36675) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnQiT-0002Y1-7h for 20360@debbugs.gnu.org; Wed, 29 Apr 2015 08:03:49 -0400 Original-Received: by qku63 with SMTP id 63so13021983qku.3 for <20360@debbugs.gnu.org>; Wed, 29 Apr 2015 05:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=OcMYW9UBJ4KeT8jT/JwGGGzG0NX2tl5AmgsF08UZiho=; b=noPqElbRbTfpLiuCNe/Qbcviod1fQu5N45/YTOi6KKtTeGIcZwekulCM1Vpt7AfBeN zQN2z912ojjLXJgCS4p3aagWNOWIqcGL+EwGq3iqHuVt7lbu2ex/r9zHbT1BQJe0AvoZ Cjn3bjILxKRmy/EN33ggPdFimS/qkJ/tfTp5V3GmOR4MGMVGHoJy8vGVkzaEHxjYe/xT WNWXLvE368f6rebppg5uPxfWyOaIu22K3O5dTIvqHKfTtkNavh1Jh+ND2D49U8fKvVTA ppViyWBCOhJATE0Fot1Pcezrkq0T493eK7pLJaDOG19r252tDX3EorZXABioJv1vGLes VWBQ== X-Received: by 10.140.90.99 with SMTP id w90mr16088870qgd.57.1430309023695; Wed, 29 Apr 2015 05:03:43 -0700 (PDT) Original-Received: from note (179-96-150-135.life.com.br. [179.96.150.135]) by mx.google.com with ESMTPSA id e5sm14448181qkh.19.2015.04.29.05.03.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 05:03:42 -0700 (PDT) In-Reply-To: <83bnil99xu.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Apr 2015 10:23:25 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102216 Archived-At: 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 writes: >> From: Renato Ferreira >> 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.