From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.bugs Subject: bug#20628: 25.0.50; Incorrect line height for some fonts Date: Fri, 22 May 2015 17:03:29 +0200 Message-ID: <87iobk64e6.fsf@gmail.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1432307593 4394 80.91.229.3 (22 May 2015 15:13:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 May 2015 15:13:13 +0000 (UTC) Cc: clement.pitclaudel@live.com, 20628@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 22 17:13:03 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 1YvodC-0005sC-5T for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 May 2015 17:13:02 +0200 Original-Received: from localhost ([::1]:34456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvodB-0001Yh-Da for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 May 2015 11:13:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvoaQ-0005mm-E7 for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 11:10:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvoaM-0000x6-HT for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 11:10:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvoaM-0000vo-Bx for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 11:10:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YvoaK-0001xl-Fk for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 11:10:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Oleh Krehel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 May 2015 15:10:04 +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.14323073927522 (code B ref 20628); Fri, 22 May 2015 15:10:04 +0000 Original-Received: (at 20628) by debbugs.gnu.org; 22 May 2015 15:09:52 +0000 Original-Received: from localhost ([127.0.0.1]:53053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yvoa7-0001xF-Ex for submit@debbugs.gnu.org; Fri, 22 May 2015 11:09:51 -0400 Original-Received: from mail-wg0-f54.google.com ([74.125.82.54]:32907) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yvoa4-0001x0-St for 20628@debbugs.gnu.org; Fri, 22 May 2015 11:09:49 -0400 Original-Received: by wgez8 with SMTP id z8so20780431wge.0 for <20628@debbugs.gnu.org>; Fri, 22 May 2015 08:09: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=Xrw9wVcec1RsGqDqLnSbW0+Q7cGuiFUPorDn5re6PkQ=; b=PpTndlw8LmI+XDeTmU3LyPC7KMvYN14OvqXYldTQKqLCbm/DnJZyDUrEgzjTY5uw1i FOQpIYKAMvtgBcjR3CopuYptpOHUQVK7y/LHpV3TOJrETVRZEAK6wbzhNWGeknHMiikK YcRbtS1SPjLpFOOcV4ZrinJUqiMuQ1c8Ui4+DsqLXku4sgbrH1BWFLMVj3Ds3vmqjHNJ rMsQPMEZwjfiyatNrJt5BZ+xrievCCLkygfLOgySySpNCQSNLk09DGk3v4Wvq3onXea2 Zuzl+KMzVVqfo1JJoBZ+cV89QBJ8fcc3MBDlnkpR33AmKE7vvbu4JspPLXgblH8QsZor pg1A== X-Received: by 10.180.83.40 with SMTP id n8mr8496937wiy.57.1432307383291; Fri, 22 May 2015 08:09:43 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id pd7sm3556398wjb.27.2015.05.22.08.09.42 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 22 May 2015 08:09:42 -0700 (PDT) In-Reply-To: <83lhgg4qhf.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 May 2015 17:49:16 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (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:103032 Archived-At: Eli Zaretskii writes: > Why do you think they are wrong? Never mind, I made a bad assumption. Here's what I've found by looking at: ;; equivalent: (format "%c" #x01d779) (format "%c" 120697) ;; what gets passed to x_produce_glyphs: (format "%c" 120755) So now, if I put this check at the end of x_produce_glyphs: if (it->char_to_display == 120755) { it->max_ascent = 0; it->max_descent = 0; } The problem is solved for this one char. So now the question is how 120697 got translated into 120755? Also, for some reason I can't evaluate this in gdb: p get_char_glyph_code (it->char_to_display, font, &char2b) It says that get_char_glyph_code isn't defined. In any case, for this character it returns FONT_INVALID_CODE.