From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70989: 29.3; Calling isearch-forward when using Unifont throws error "Invalid font name" Date: Sat, 18 May 2024 18:34:21 +0300 Message-ID: <86seyfcewy.fsf@gnu.org> References: <3df5d89f24d568fa565913cec6902fb0@rodrigomorales.site> <86pltlh7ua.fsf@gnu.org> <87eda1ldsl.fsf@rodrigomorales.site> <86cyplge4o.fsf@gnu.org> <87wmnsya2h.fsf@yahoo.com> <87r0e0pj2c.fsf@rodrigomorales.site> <87ttiv71el.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31160"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70989@debbugs.gnu.org, me@rodrigomorales.site To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 18 17:37:20 2024 Return-path: Envelope-to: geb-bug-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 1s8M7b-0007wq-I0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 May 2024 17:37:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8M7K-0004lH-OJ; Sat, 18 May 2024 11:37:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8M7H-0004iA-CA for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 11:36:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s8M7H-00078h-3i for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 11:36:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8M7K-0006Ba-8L for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 May 2024 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70989 X-GNU-PR-Package: emacs Original-Received: via spool by 70989-submit@debbugs.gnu.org id=B70989.171604660823772 (code B ref 70989); Sat, 18 May 2024 15:37:02 +0000 Original-Received: (at 70989) by debbugs.gnu.org; 18 May 2024 15:36:48 +0000 Original-Received: from localhost ([127.0.0.1]:34066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8M76-0006BM-0O for submit@debbugs.gnu.org; Sat, 18 May 2024 11:36:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8M74-0006BC-9Q for 70989@debbugs.gnu.org; Sat, 18 May 2024 11:36:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8M4n-0006Xm-7F; Sat, 18 May 2024 11:34:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=T8SbeAywBNs57PDEAypuY1s6dCRfap825y+UmFe4hgk=; b=Zk2wtg//xuix nK7NtmDhmOZdwlzTD+OaBFURKOqWAXWxFRxI6eyyqKq5cPSrLlLBb5vptp4RovuRHR1a7PGDe+03n l/CkB6IusgoAjbqMbyYpFAjxdCG46ZGpkE0mgVMZdS0Tg9O7JS5bvNuzcFRH7g5rbogI31QQphFCo C5DAtN/CkraJbIqg5lEq1OFSAoNc+Dt+WLAof5J6/Vek/IDyZhp2SjF86ABycGSyfEYVTfUVUrx14 1xDIRwc6c5RVR1r3MW9DPD1NjFoKttVMH67+mJTvd7MyilTk2lGdTn/mbeXtZPxyQ3yEGnpL4EG5E DSlwoXvSFPbBj8uKzdwITg==; In-Reply-To: <87ttiv71el.fsf@yahoo.com> (message from Po Lu on Sat, 18 May 2024 20:25:06 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285344 Archived-At: > From: Po Lu > Cc: Eli Zaretskii , <70989@debbugs.gnu.org> > Date: Sat, 18 May 2024 20:25:06 +0800 > > Rodrigo Morales writes: > > > #+BEGIN_SRC text > > position: 1 of 145 (0%), column: 0 > > character: ; (displayed as ;) (codepoint 59, #o73, #x3b) > > charset: ascii (ASCII (ISO646 IRV)) > > code point in charset: 0x3B > > script: latin > > syntax: < which means: comment > > category: .:Base, a:ASCII, l:Latin, r:Roman > > to input: type "C-x 8 RET 3b" or "C-x 8 RET SEMICOLON" > > buffer code: #x3B > > file code: #x3B (encoded by coding system utf-8-unix) > > display: by this font (glyph code): > > ftcrhb:-GNU-Unifont-medium-normal-normal-Sans-Serif-16-*-*-*-c-80-iso10646-1 (#x3C) > > Thanks. The field in question is the adstyle produced from an > FcPattern's FC_STYLE attribute by get_adstyle_property in the ftfont > driver. What are the chances that a font will define two adstyles that > collide when dashes (and other characters not representable in an XLFD) > in one are replaced with a substitute? I expect that they are > negligible, and as such it should suffice to substitute some fixed > alternative for such characters where they appear in adstyles and > perhaps other fields also, if it should ever come to that. Sorry, can you elaborate a bit, please? Specifically: . which code in get_adstyle_property does this, and how? . what is your idea for a fix, which led you to ask about "the chances that a font will define two adstyles that collide"?