From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Klaus-Dieter Bauer Newsgroups: gmane.emacs.bugs Subject: bug#24918: 25.1; Fonts can make Emacs grind to a halt Date: Tue, 29 Nov 2016 23:42:38 +0100 Message-ID: References: <8360nvfedz.fsf@gnu.org> <83inrue97n.fsf@gnu.org> <83lgwc96nn.fsf@gnu.org> <83lgw3zjvf.fsf@gnu.org> <83inr6xjnv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113facb6f83ef60542784f2c X-Trace: blaine.gmane.org 1480459454 31894 195.159.176.226 (29 Nov 2016 22:44:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2016 22:44:14 +0000 (UTC) Cc: 24918@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 29 23:44:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBr8D-0007KG-0c for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Nov 2016 23:44:09 +0100 Original-Received: from localhost ([::1]:39582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBr8G-0003bP-T9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Nov 2016 17:44:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBr89-0003bI-B1 for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 17:44:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBr85-00053f-UT for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 17:44:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59427) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBr85-00053X-Rq for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 17:44:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cBr85-00028b-LY for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 17:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Klaus-Dieter Bauer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Nov 2016 22:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24918-submit@debbugs.gnu.org id=B24918.14804593968153 (code B ref 24918); Tue, 29 Nov 2016 22:44:01 +0000 Original-Received: (at 24918) by debbugs.gnu.org; 29 Nov 2016 22:43:16 +0000 Original-Received: from localhost ([127.0.0.1]:46593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBr7M-00027R-BV for submit@debbugs.gnu.org; Tue, 29 Nov 2016 17:43:16 -0500 Original-Received: from mail-lf0-f41.google.com ([209.85.215.41]:36407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBr7K-00027E-NS for 24918@debbugs.gnu.org; Tue, 29 Nov 2016 17:43:15 -0500 Original-Received: by mail-lf0-f41.google.com with SMTP id t196so133443111lff.3 for <24918@debbugs.gnu.org>; Tue, 29 Nov 2016 14:43:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lvjn7AUXpLAtHtFf2KT4m+Ow36xkhW8YGaYzp89gmP4=; b=dSMqlQ+NCx19Hxa5lBDHqhFvpOptA/YlNssmqnp+m8SOKtbx8x6qaJ+6jcbPRtcbrZ +QldyPiWyl7IIasSB3clCWglpyYZwJQnE4fu438MUVIBox34GW/L1gAASXnoM4e0QzI9 Azx30S0UhGHW/DAP7nJs4o4/Y8eytfgA3Wr1dmBjnYAwVYbwx8BKVnDWc5ocuZ9U69DJ jfXWvdaWpj6KmBp5rwLyY1lKlv3bxKqoLFYtnjgleLbD9YVia/WCQoqJdEmDXBYdh5pJ CGU8W4wjlVF6yEoNVEH8rDzMvhQ9yaLIWuMrXX+F8cWBO3r58EgyOU7T2nQ4688ceoJy QB7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lvjn7AUXpLAtHtFf2KT4m+Ow36xkhW8YGaYzp89gmP4=; b=D+fzda5oEd89bBxzVP54xTFk1Xht1MRECujLjxTKWP/IvQtpcFwIlzbSQFa+7F/9Dv 8nfuhzIvU3DBH+yPUz8yJShPAcUAj6Sh0Flar1hb3W9VISNBzQ4S0EH40o7iIWD4C2m2 nuD3Hycwx+YXjyrrLJ7G7WgA9ySaeh3/CV3MWG8lmT7zmZf4uLBAuVCgRjO/YiVnS2Mb FgpSvmBnK1bUW9yfz78OLlkmOTPbWjnmvZmq4VD+KevQxKN8LvLv9kBvrt7FjQvOdes4 d/93sb77OEmZ2gkDrhwW9TOwYOl4Hj4ou4hV3CXzBnBZ1W2bYWi82s558zn+Rbc5KY75 nbVA== X-Gm-Message-State: AKaTC00f+CRRZadg7q2GYbZhvYNm2JSHkHgBU+XK3NekqYoITWSF8Nxj9gUwYjF4gJkMXDrR1/jAZKr30PtNPQ== X-Received: by 10.25.16.209 with SMTP id 78mr8648707lfq.53.1480459388729; Tue, 29 Nov 2016 14:43:08 -0800 (PST) Original-Received: by 10.25.203.6 with HTTP; Tue, 29 Nov 2016 14:42:38 -0800 (PST) In-Reply-To: <83inr6xjnv.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:126272 Archived-At: --001a113facb6f83ef60542784f2c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2016-11-29 18:47 GMT+01:00 Eli Zaretskii : > > From: Klaus-Dieter Bauer > > Date: Tue, 29 Nov 2016 11:29:03 +0100 > > Cc: 24918@debbugs.gnu.org > > > > The issue occurs with the default fonts too ("emacs -Q"). On Windows > that means `Courier New' for `default' > > and `Monospace' for `fixed-pitch', `Monospace Serif` for > `fixed-pitch-serif' and `Arial` for `variable-pitch'. > > > > With these default settings, the `package-list-packages' buffer works > mostly fine, but the info page `(cl) > > Structures' for instace does not. Using different fonts, e.g. `Linux > Libertine Mono' or `Noto Mono', the issue > > becomes only more widespread. > > > > I detail, I noticed that the issue indeed does occur specifically when > font substitution kicks in. In the info-page > > for `(cl) Structure' this occurs, because the "=3D>" is replaced by the > unicode symbol "=E2=87=92", which is displayed in > > a different font; Sadly I can't figure out a way to identify the > substituted font; It is definitely a variable-pitch font > > (the symbol is wider than the default font, such that characters are no > longer vertically aligned with other > > lines). > > That's very strange, because I see nothing similar on my systems. > > As Cl=C3=A9ment points out, "C-u C-x =3D" will show the font that is used= to > display those characters. Please tell what they are; they use Symbola > here (and that's how things should be, by default). > Ah, I missed that line in `C-u C-x =3D'. (I also don't see any message from Cl=C3=A9ment). #### Using "emacs -Q" #### It says for the =E2=87=92 (\Rightarrow) symbol display: by this font (glyph code) uniscribe:-outline-Malgun Gothic-normal-normal-normal-sans-17-*-*-*-p-*-ksc5601.1987-0 (#x22D) For the =E2=80=96 (\Vert) and =E2=80=BB (\textreferencemark) symbols: uniscribe:-outline-MS Gothic-normal-normal-normal-mono-17-*-*-*-c-*-gb2312.1980-0 (#x340) For the symbol: uniscribe:-outline-MS Gothic-normal-normal-normal-mono-17-*-*-*-c-*-gb2312.1980-0 (#x364) #### With init file #### (using Linux Libertine Mono as default font) The =E2=80=96 and =E2=80=BB symbols work fine in that configuraiton. "=E2=87=92" still causes the issue here too, and falls back to identically = the same `uniscribe' line uniscribe:-outline-Malgun Gothic-normal-normal-normal-sans-17-*-*-*-p-*-ksc5601.1987-0 (#x22D) The extreme lag in `package-list-packages' seems to be caused by the =E2=96= =B2 symbol in the **header line**, which works fine with the default font, but is substituted with uniscribe:-outline-Malgun Gothic-normal-normal-normal-sans-16-*-*-*-p-*-gb2312.1980-0 (#x240) when using `Linux Libertine Mono' or `Noto Mono'. By any chance, do any of your test systems run Windows and have MS Office installed? (In my case the 2010 version.) It should be the primary source of Unicode fonts on my system. --001a113facb6f83ef60542784f2c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2016= -11-29 18:47 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
> From: Klaus-Dieter Bauer <= bauer.klaus.dieter@gmail.co= m>
> Date: Tue, 29 Nov 2016 11:29:03 +0100
> Cc: 24918@debbugs.gnu.org=
>
> The issue occurs with the default fonts too ("emacs -Q"). On= Windows that means `Courier New' for `default'
> and `Monospace' for `fixed-pitch', `Monospace Serif` for `fixe= d-pitch-serif' and `Arial` for `variable-pitch'.
>
> With these default settings, the `package-list-packages' buffer wo= rks mostly fine, but the info page `(cl)
> Structures' for instace does not. Using different fonts, e.g. `Lin= ux Libertine Mono' or `Noto Mono', the issue
> becomes only more widespread.
>
> I detail, I noticed that the issue indeed does occur specifically when= font substitution kicks in. In the info-page
> for `(cl) Structure' this occurs, because the "=3D>" = is replaced by the unicode symbol "=E2=87=92", which is displayed= in
> a different font; Sadly I can't figure out a way to identify the s= ubstituted font; It is definitely a variable-pitch font
> (the symbol is wider than the default font, such that characters are n= o longer vertically aligned with other
> lines).

That's very strange, because I see nothing similar on my systems= .

As Cl=C3=A9ment points out, "C-u C-x =3D" will show the font that= is used to
display those characters.=C2=A0 Please tell what they are; they use Symbola=
here (and that's how things should be, by default).


Ah, I missed that line in `C-u C-x =3D'. (I also don&= #39;t see any message from Cl=C3=A9ment).=C2=A0


#### Using "emacs -Q" ####
It says for the =E2=87=92 (\Rightarrow) = symbol
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 display: by this font (glyph code= )
=C2=A0 =C2=A0 uniscribe:-outline-Malgun G= othic-normal-normal-normal-sans-17-*-*-*-p-*-ksc5601.1987-0 (#x22D)

For the =E2= =80=96 (\Vert) and =E2=80=BB (\textreferencemark) symbols:
=C2=A0 =C2=A0 uniscribe:-outlin= e-MS Gothic-normal-normal-normal-mono-17-*-*-*-c-*-gb2312.1980-0 (#x340)

For the =C2=A0symbol:
=C2=A0 =C2=A0 u= niscribe:-outline-MS Gothic-normal-normal-normal-mono-17-*-*-*-c-*-gb2312.1= 980-0 (#x364)


#### With init = file ####=C2=A0

(using Linux Libertine Mono as def= ault font)

The =E2=80=96 and =E2=80=BB symbols wor= k fine in that configuraiton.=C2=A0
"=E2=87=92" still c= auses the issue here too, and falls back to identically the same `uniscribe= ' line
=C2=A0 =C2=A0 uniscribe:-outline-Malgun Gothic-normal-= normal-normal-sans-17-*-*-*-p-*-ksc5601.1987-0 (#x22D)

The extreme lag in `package-list-packages' seems to be caused = by the=C2=A0=E2=96=B2 symbol in the **header line**, which works fine with = the default font, but is substituted with=C2=A0
=C2=A0 =C2= =A0 uniscribe:-outline-Malgun Gothic-normal-normal-normal-sans-16-*-*-*-p-*= -gb2312.1980-0 (#x240)
when using `Linux Libertine Mono'= ; or `Noto Mono'.


By any chance= , do any of your test systems run Windows and have MS Office installed? (In= my case the 2010 version.) It should be the primary source of Unicode font= s on my system.=C2=A0
--001a113facb6f83ef60542784f2c--