From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs 28: Specific TTF font gets loaded with font-backend x instead of ftcrhb Date: Sat, 08 Feb 2020 12:16:48 +0200 Message-ID: <835zghe63z.fsf@gnu.org> References: <87pneu1u9e.fsf@gnu.org> <83mu9ygyi7.fsf@gnu.org> <87imkmi46d.fsf@gnu.org> <83eevagoh8.fsf@gnu.org> <878slh0yr8.fsf@gnu.org> <83y2thezjq.fsf@gnu.org> <87v9okyyt5.fsf@gnu.org> <83pnerfuq1.fsf@gnu.org> <835zgig231.fsf@gnu.org> <87lfpe65my.fsf@gnu.org> <83y2teedbh.fsf@gnu.org> <87v9oh8lkl.fsf@gnu.org> <87r1z58kz6.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="107674"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 08 11:17:26 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j0NB0-000Rua-E6 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 08 Feb 2020 11:17:26 +0100 Original-Received: from localhost ([::1]:39700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0NAz-0006oy-GI for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 08 Feb 2020 05:17:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41101) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0NAg-0006hv-T3 for help-gnu-emacs@gnu.org; Sat, 08 Feb 2020 05:17:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j0NAg-0000mO-QV for help-gnu-emacs@gnu.org; Sat, 08 Feb 2020 05:17:06 -0500 Original-Received: from [176.228.60.248] (port=1801 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j0NAg-0008KT-9p for help-gnu-emacs@gnu.org; Sat, 08 Feb 2020 05:17:06 -0500 In-reply-to: <87r1z58kz6.fsf@gnu.org> (message from Tassilo Horn on Sat, 08 Feb 2020 10:52:13 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122372 Archived-At: > From: Tassilo Horn > Cc: help-gnu-emacs@gnu.org > Date: Sat, 08 Feb 2020 10:52:13 +0100 > > Tassilo Horn writes: > > > That's signalled in composite.c's Fcomposition_get_gstring function, > > either line 1738 or 1749. I've set beakpoints there, and now I have an > > emacs instance halted at 1749. > > > > Thread 1 "emacs" hit Breakpoint 4, Fcomposition_get_gstring ( > > from=, to=, font_object=XIL(0x5555562346e5), > > string=XIL(0x555556a34ec4)) at composite.c:1749 > > 1749 error ("Attempt to shape unibyte text"); > > Oh, of course I've forgotten the most obvious part, i.e., frame 0: > > (gdb) pp string > "--" > (gdb) pp font_object > # > > And indeed, the mode-line in a Gnus Summary buffer starts with "U:---". We should not signal this error when the unibyte string is pure-ASCII. Let me think of a solution.