From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#30874: 27.0.50; Emacs crashes Date: Tue, 27 Mar 2018 10:57:03 +0200 Message-ID: <874ll128ww.fsf@gmail.com> References: <837eq7lzr4.fsf@gnu.org> <831sgencgb.fsf@gnu.org> <83woy4i7rz.fsf@gnu.org> <83vadoi2ia.fsf@gnu.org> <878taf2kj5.fsf@gmail.com> <83d0zqg8p8.fsf@gnu.org> <87o9ja230e.fsf@gmail.com> <83605ig2se.fsf@gnu.org> <87fu4m1tht.fsf@gmail.com> <878tae1nzu.fsf@gmail.com> <83lgeedxv7.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1522140971 4244 195.159.176.226 (27 Mar 2018 08:56:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Mar 2018 08:56:11 +0000 (UTC) Cc: 30874@debbugs.gnu.org, jsynacek@redhat.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 27 10:56:07 2018 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 1f0kOk-0000yN-Mf for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Mar 2018 10:56:07 +0200 Original-Received: from localhost ([::1]:32928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0kQn-0002a6-WB for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Mar 2018 04:58:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0kQh-0002Zd-1n for bug-gnu-emacs@gnu.org; Tue, 27 Mar 2018 04:58:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0kQc-0001aX-06 for bug-gnu-emacs@gnu.org; Tue, 27 Mar 2018 04:58:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47271) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0kQb-0001aR-Sl for bug-gnu-emacs@gnu.org; Tue, 27 Mar 2018 04:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0kQb-0004VN-LN for bug-gnu-emacs@gnu.org; Tue, 27 Mar 2018 04:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Mar 2018 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 30874-submit@debbugs.gnu.org id=B30874.152214103417258 (code B ref 30874); Tue, 27 Mar 2018 08:58:01 +0000 Original-Received: (at 30874) by debbugs.gnu.org; 27 Mar 2018 08:57:14 +0000 Original-Received: from localhost ([127.0.0.1]:55168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0kPq-0004UI-9B for submit@debbugs.gnu.org; Tue, 27 Mar 2018 04:57:14 -0400 Original-Received: from mail-wr0-f182.google.com ([209.85.128.182]:33145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0kPn-0004U3-RQ for 30874@debbugs.gnu.org; Tue, 27 Mar 2018 04:57:12 -0400 Original-Received: by mail-wr0-f182.google.com with SMTP id z73so21579822wrb.0 for <30874@debbugs.gnu.org>; Tue, 27 Mar 2018 01:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=Pb3zkkbNwXd8ojsOCxHN5L7ZIorXN1Dr/2eBZGzERn0=; b=CrgDKmKsG3Z5k7SbnF9OrA5lr9iTosKSGnD32RUUEDSHOGkbJUZGO0p77pIzonAKd1 GlCltvwVIjuRqtDChPN/ZiZ9FIhXVXv/nyq/GSCXANHoMge2HTJP6CROF71yzDAIQ9u8 D74YQuLEwJ9GoxCHUizcSz6iQHVIV3P7ylYyHvhblFfBFZbQAvl0tEiLopzZH91yMWPm FHC66L8fuZZ9V6pjap/CJDACE+0lNpbgZrQ3i9snrWik1yBamXUTHumcInjPDS9fmEeI vPydq/sYAx3JvklmevKRNlY94jg0YAV3t7+Dsczl0l9Y8kl/2oZVYX+0dLT2sFLvd7X3 eGBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Pb3zkkbNwXd8ojsOCxHN5L7ZIorXN1Dr/2eBZGzERn0=; b=de2mYXFvlw+nPCap8EtiHNMIct7VRMHatlxziZb1hSQ1mi7zMsgFLJ9fBcGwGjpRMr B52550gLG3A7o26UB4xdrzpuDgH8ag4wiIT4pwwGo/zp448tPKqR90iCjH1rEqR1OQ/E hgGRRsw2uNGBBS6Il+wRr7rofG8v5XNhxjIOeUVsTlH2cztqG3xpirPaJLxQWLDRnqal NND3itjc0CsLsaiJSlaX/+iF0m2en8uoo588wyFiiU73tU19qhubEBnl3QcHmQxikTqC qcrSO76/YT4SlNxH9fP9mY8tpDKhmT9Tul+zvotqhG2gws1Yfdg8N6z+8ER7L7olIYNV PLyQ== X-Gm-Message-State: AElRT7Hx37GF+XlU3MqypPc3ImSIQq0R4LwHB5+/DZcwrV1hxxOq/Y2c IEwYjGlF6TkUiPukMgis6K0= X-Google-Smtp-Source: AIpwx4+TwlIhloA2ddJMCMiLSUyBcEJ04DIzxMtE101GaFlcvwy96XLQ10FZ3wIZJEN/dbx7yRnmWA== X-Received: by 10.223.139.206 with SMTP id w14mr1745628wra.169.1522141025744; Tue, 27 Mar 2018 01:57:05 -0700 (PDT) Original-Received: from rpluim (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id h197sm699658wmd.3.2018.03.27.01.57.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Mar 2018 01:57:04 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <83lgeedxv7.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 27 Mar 2018 06:02:36 +0300") 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:144649 Archived-At: Eli Zaretskii writes: > So how do we end up loading that problematic font, and why does that > happen with the recipe for this bug, but not if set-fonset-font on the > command line is omitted? Here=CA=BCs what the file loading looks like from Xft's perspective: XFT_DEBUG=3D16 LD_LIBRARY_PATH=3D/home/rpluim/repos/src/libXft-2.3.2/src/.l= ibs/ ./emacs -Q XFT_DEBUG=3D16 FontFile /home/rpluim/.local/share/fonts/Inconsolata-Regular.ttf/0 matches = new Loading file /home/rpluim/.local/share/fonts/Inconsolata-Regular.ttf/0 FontFile /home/rpluim/.local/share/fonts/Inconsolata-Regular.ttf/0 matches = existing (2) FontFile /usr/share/fonts/inconsolata/Inconsolata-Bold.ttf/0 matches new Loading file /usr/share/fonts/inconsolata/Inconsolata-Bold.ttf/0 # Inconsolata is my system default monospace font. Now I insert #x274c : FontFile /usr/share/fonts/inconsolata/Inconsolata-Regular.ttf/0 matches new Loading file /usr/share/fonts/inconsolata/Inconsolata-Regular.ttf/0 FontFile /usr/share/fonts/vlgothic/VL-Gothic-Regular.ttf/0 matches new Loading file /usr/share/fonts/vlgothic/VL-Gothic-Regular.ttf/0 # I think this means Inconsolata doesn=CA=BCt have a glyph for that # codepoint, although I thought the default fontset specified Symbola # for that codepoint (and Symbola is installed), so I don=CA=BCt understand # why VL-Gothic is chosen. # Now I change the fontset, and this time it finds the # emojione-android font : =20=20 FontFile /usr/share/fonts/dejavu/DejaVuSansMono.ttf/0 matches new Loading file /usr/share/fonts/dejavu/DejaVuSansMono.ttf/0 FontFile /home/rpluim/.local/share/fonts/Inconsolata-Regular.ttf/0 matches = existing (2) FontFile /usr/share/fonts/eosrei-emojione/emojione-android.ttf/0 matches new Loading file /usr/share/fonts/eosrei-emojione/emojione-android.ttf/0 > It looks like this is a problem with all color emoji fonts, so this is > indeed a duplicate of bug#30045. See this bug: > > https://bugzilla.redhat.com/show_bug.cgi?id=3D1498269 > > The question now becomes: how do we avoid loading such fonts, at least > when the xftfont back-end is in use? Is there any alternative except > telling users to "move such fonts out of the way"? Accoding to that bug, the solution is for the application to 'move away from legacy Xft to fontconfig', whatever that means. I can say that building '--without-xft' is definitely sub-optimal (the buffer text isn=CA=BCt scaled, and Emacs doesn=CA=BCt find a font to display #x274= c). Robert