From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#20628: 25.0.50; Incorrect line height for some fonts Date: Sun, 24 May 2015 04:20:50 -0400 Message-ID: <556189E2.4020600@live.com> References: <555E9C2E.8040008@live.com> <83617l5aox.fsf@gnu.org> <87pp5s2a77.fsf@gmail.com> <83wq004x2w.fsf@gnu.org> <83twv44vd3.fsf@gnu.org> <87egm87ny6.fsf@gmail.com> <83oalc4syu.fsf@gnu.org> <87617k7m5u.fsf@gmail.com> <83mw0w4seb.fsf@gnu.org> <87zj4w66ds.fsf@gmail.com> <83lhgg4qhf.fsf@gnu.org> <87iobk64e6.fsf@gmail.com> <83h9r44o63.fsf@gnu.org> <87pp5sy4vu.fsf@gmail.com> <83egm84mj3.fsf@gnu.org> <87617k6127.fsf@gmail.com> <83d21s4lpx.fsf@gnu.org> <87twv44lnc.fsf@gmail.com> <87egm84kp2.fsf@gmail.com> <83a8ww4grx.fsf@gnu.org> <87382oml31.fsf@gmail.com> <555FC1EC.2080509@live.com> <83fv6n3gfj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1432455745 7098 80.91.229.3 (24 May 2015 08:22:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2015 08:22:25 +0000 (UTC) Cc: ohwoeowho@gmail.com, 20628@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 24 10:22:14 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 1YwRAj-0000qk-Lr for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 May 2015 10:22:13 +0200 Original-Received: from localhost ([::1]:39369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwRAi-0004bJ-Ti for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 May 2015 04:22:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwRAc-0004bA-Nw for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 04:22:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwRAY-0007tR-MJ for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 04:22:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwRAY-0007t2-Iz for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 04:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YwRAY-0005lI-8b for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 04:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 May 2015 08:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20628-submit@debbugs.gnu.org id=B20628.143245567222088 (code B ref 20628); Sun, 24 May 2015 08:22:02 +0000 Original-Received: (at 20628) by debbugs.gnu.org; 24 May 2015 08:21:12 +0000 Original-Received: from localhost ([127.0.0.1]:54202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YwR9f-0005jy-TS for submit@debbugs.gnu.org; Sun, 24 May 2015 04:21:11 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.10]:59169) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YwR9Y-0005is-Oi for 20628@debbugs.gnu.org; Sun, 24 May 2015 04:21:04 -0400 Original-Received: from [18.189.125.138] ([18.189.125.138]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0M4a32-1ZLg8v1yf6-00ykYS; Sun, 24 May 2015 10:20:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <83fv6n3gfj.fsf@gnu.org> X-Provags-ID: V03:K0:gg3VRP2hf61LfqLdggth0m3/3pQ9rJer2QPy4NA5eZ1o2nGw48o IhoVN6roDxw0tOiP/XhJ9I17sRu7RY4vopsz13IXVJC5YsBvYZgJuUx/VsPXZFgwqjAEMv5 SoqjDsEBrtrUhMjrcNJMs2k/H/J+Xqjhzh3OhuqW9Z4u/MD/nkGa2S27J7lG8UnCr3u97QJ 8BhuZCVNDcPfeAuR0hVnA== X-UI-Out-Filterresults: notjunk:1; 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:103123 Archived-At: On 05/23/2015 03:24 AM, Eli Zaretskii wrote: >> Date: Fri, 22 May 2015 19:55:24 -0400 From: Clément Pit--Claudel >> CC: Eli Zaretskii , >> 20628@debbugs.gnu.org >> >>> BTW, I think that using something like >>> >>> (set-fontset-font fontset 'unicode (font-spec :name "Symbola") >>> nil 'append) or (set-fontset-font "fontset-default" '(#x1d400 . >>> #x1d7ff) "Symbola") >>> >>> just sucks: we don't want to say "use Symbola", but we instead >>> want to say something like "avoid Latin Modern Math" or "ignore >>> Latin Modern Math's ascent/descent information". >> >> I don't think so; this forces us to maintain a list of misbehaving >> fonts. If we just say "Avoid Latin Modern Math" and the next >> selected font is also broken, then the problem remains (Asana >> Math, for example, is broken too, albeit a bit less). Ideally, we >> would also want to be able to use Latin Modern Math: ignoring the >> height issue, it's a nice font for maths symbols. > > But the proposed patch, to which you agreed, did precisely that: it > singled out a particular font where the ascent/descent information > was to be ignored (and suggested to extend the list if needed). I meant to disagree with the part regarding ignoring a font entirely. Maintaining a list of broken fonts in a way that still allows us to use them (for example by overriding line height information) is not the most robust solution (ideally, we'd like to support these fonts just like virtually every other program out there), but it's still an improvement over the current situation. On the other hand, adding Latin Modern Math to a list of ignored fonts means that: * Emacs suddenly seems to not support one of the fonts that users can use elsewhere without problems (e.g. in LibreOffice). * If Latin Modern Math is the only font that covers a particular character, we've changed "incorrect line height" into "square boxes in place of symbols", which is hardly an improvement over the current behaviour. * If users install a fixed version of Latin Modern Math, is still won't be used unless they also remove Latin Modern from the ignore list. > How's that different from what Stefan proposes? And what's wrong > with maintaining a list of fonts that are known to misbehave? There > a lot of broken fonts out there, and so far we relied on users > configuring the fonts on their machines to avoid negative effects, > something that's not always possible. > >