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: Thu, 21 May 2015 23:02:06 -0400 Message-ID: <555E9C2E.8040008@live.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1432263808 18406 80.91.229.3 (22 May 2015 03:03:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 May 2015 03:03:28 +0000 (UTC) To: 20628@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 22 05:03:15 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 1YvdEv-0001Ai-25 for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 May 2015 05:03:13 +0200 Original-Received: from localhost ([::1]:60126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvdEu-0004go-8G for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 May 2015 23:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvdEq-0004gc-Kv for bug-gnu-emacs@gnu.org; Thu, 21 May 2015 23:03:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvdEl-0003dF-RL for bug-gnu-emacs@gnu.org; Thu, 21 May 2015 23:03:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvdEl-0003d7-OW for bug-gnu-emacs@gnu.org; Thu, 21 May 2015 23:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YvdEl-0007jX-6h for bug-gnu-emacs@gnu.org; Thu, 21 May 2015 23:03:03 -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: Fri, 22 May 2015 03:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143226375129683 (code B ref -1); Fri, 22 May 2015 03:03:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 May 2015 03:02:31 +0000 Original-Received: from localhost ([127.0.0.1]:52474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvdED-0007ie-Sm for submit@debbugs.gnu.org; Thu, 21 May 2015 23:02:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33210) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvdEA-0007iQ-H5 for submit@debbugs.gnu.org; Thu, 21 May 2015 23:02:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvdE3-0003Uv-Rw for submit@debbugs.gnu.org; Thu, 21 May 2015 23:02:21 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvdE3-0003Ur-PD for submit@debbugs.gnu.org; Thu, 21 May 2015 23:02:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvdE2-0004c4-7K for bug-gnu-emacs@gnu.org; Thu, 21 May 2015 23:02:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvdDx-0003TV-7j for bug-gnu-emacs@gnu.org; Thu, 21 May 2015 23:02:18 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.10]:64912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvdDw-0003TJ-Vk for bug-gnu-emacs@gnu.org; Thu, 21 May 2015 23:02:13 -0400 Original-Received: from [18.189.125.138] ([18.189.125.138]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0MgfcV-1YYJD341IN-00O0rd for ; Fri, 22 May 2015 05:02:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 X-Provags-ID: V03:K0:ZwlEpDyqUnT2+22KwFZog1vYAmQaivQlUkL4qw+NK3wNMENTe84 5N8ruUwtg2XCrDM0gdRUrl/HPIHuV7dKtH5ip1NiIaWqT625BiQlgCjiOJQXOF9/hBBoSna No2enGpIrkql+XuXTlkXYV2d3Jg8butmhRrUDr/xgpiYrIFA9jPONJCLnIBvo/JZqO/brE/ uU94hm6HrAzy2X2fSE3Kg== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:103009 Archived-At: Hi, Some Unicode characters incorrectly increase the height of the line on which they are inserted, by an incorrect amount (typically 4/5 times the normal line height). This is due to Emacs falling back to a font for which line height calculations are incorrect. The problem can generally be reproduced just by inputing the following characters: (𝓝𝓟) Alternatively, the problem can be reproduced by switching to certain specific fonts. For example: (set-frame-font "-unknown-Latin Modern Math-normal-normal-normal-*-*-*-*-*-*-0-iso10646-1" nil nil) This problem is not specific to 25.0.50. It is discussed on stackexchange [1] and the effect can be observed in [2]. It only occurs with specific fonts. It particularly impacts packages that rely on prettify-symbols-mode to display math symbols; when users install the package, some lines in the buffer start being 4 or 5 times taller than other lines, although no characters on the affected lines stand out. For this reason, even if this is likely a problem in the way the fonts are packaged, it would be nice to have a workaround at the Emacs level. Emacs is the only program on my system that displays this behaviour; typing the same text in gedit or switching gedit to one of the misbehaving fonts, for example, does not affect the line height. [1] http://emacs.stackexchange.com/questions/251/ [2] https://cloud.githubusercontent.com/assets/2506825/7760973/67ceaaea-ffd5-11e4-8bf6-d796aa162b0e.png --- In GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2015-05-14 on c-mint Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Linux Mint 17.1 Rebecca Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils mule-util time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 76472 5652) (symbols 48 18496 0) (miscs 40 87 99) (strings 32 11421 4141) (string-bytes 1 314062) (vectors 16 9839) (vector-slots 8 396279 11643) (floats 8 102 46) (intervals 56 177 0) (buffers 976 11) (heap 1024 40850 1039))