From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 20:25:06 +0800 Message-ID: <87ttiv71el.fsf@yahoo.com> References: <3df5d89f24d568fa565913cec6902fb0@rodrigomorales.site> <86pltlh7ua.fsf@gnu.org> <87eda1ldsl.fsf@rodrigomorales.site> <86cyplge4o.fsf@gnu.org> <87wmnsya2h.fsf@yahoo.com> <87r0e0pj2c.fsf@rodrigomorales.site> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30815"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 70989@debbugs.gnu.org, Eli Zaretskii To: Rodrigo Morales Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 18 14:26:32 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 1s8J8y-0007np-2H for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 May 2024 14:26:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8J8T-0004SB-Be; Sat, 18 May 2024 08:26:01 -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 1s8J8R-0004R7-UW for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 08:25: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 1s8J8R-0004RS-L9 for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 08:25:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8J8U-0008T7-JL for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 08:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 May 2024 12:26: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.171603514432540 (code B ref 70989); Sat, 18 May 2024 12:26:02 +0000 Original-Received: (at 70989) by debbugs.gnu.org; 18 May 2024 12:25:44 +0000 Original-Received: from localhost ([127.0.0.1]:33210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8J8B-0008Sl-QY for submit@debbugs.gnu.org; Sat, 18 May 2024 08:25:44 -0400 Original-Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]:36940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8J89-0008Sf-K7 for 70989@debbugs.gnu.org; Sat, 18 May 2024 08:25:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716035132; bh=CNzeNcgcUyDvqoMLf7zI3X+5YM2ez1Np1/aqsp/I0I8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=i35ggNgJVsl0EaftZo2vql4SRWAsG01gwDi//CqFvNYDr4q/g9MhxbErtiJFXoibx7xxYzYWhorqUEEYyUp+SZA28KUhjSnZD820Fv1tj7d6YxIaHMA7+YzzLWm7ehLvyb91PQg3yHhVLv1Yy0USn+A6NQWrk/YSl6nPnpHih8RcL1avt8OGhhheKJA/iVxJfMet/GEgsgZRB3n3YQl5gGLn6ulB1DDuj2gZJWVhixHRkTfxotcVwJigMGoiRu4hG80HpBKgQwsQZN2zvbzJbh6sbS1y9UVbhvZshP4Q3SijtZzT64gJlztPBkgaw5mWvZH3R2aMd3GnAAnC2uOzvw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716035132; bh=fqL42Li8Aw48fuXZW0TRjnKMJcRzvaj4IRsKtJwYZYj=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=jeG03ZFGwKrUv7hbQ9DcaQ0VD+v3uS+S8eAg4ZHIaffjZeSi9Vx1XDzWNv83c6vq2r/k04A4vAU1dGoSJcbnnJBFCay07iAteC8irdFUbiTcPjr/CadoT6ZOwsl+H1K8rWYIYLHo/3yfOD/VsWuPo3Q7wrrIYYcSGsSyIzPgdoicLeZtf3NbdpYgEBFLLli2AucUoKNax0AAxRK3y3bWqyL2JmjQu0Rsx09/ED5uak6PRu5yJiKTeitTSfxY4PxhZ8iaN5Eh8aC8HToKb8moFmvfOLbaWrznKh1sjyV4e4UwK9RIJy3y9aDs59aRaOx3n9LpF7S5269yGWw1wBVfng== X-YMail-OSG: DssNLvsVM1kbsau55GIGLMWM5IIhbsV5o7PZg2MZ7gflkazVz0DGaEqUJS6kPJ7 sGtsymPS7.X7lOckEPMs4exdXIgQgpUuThl3bYfvSfqd1sywouDxVFKUj7UUX2Exim4njU7t_hof XdVa3_egUl9bWrjA9EzGB7n7RskN2n7C6889xKHOBsgNic0WtTNRKntH2iaPGlpQ3VmNL.xLARa. 3l2kjTea8l.EfDPVozGv2U4L9gGfS88yA3Wn8IvFFBvhMh6IVn6r1jYYZ9RYl_kIhqJffkqHt3wc bsuSz9H3YN4sk01Mz1nx7E_6yTsH4eFf_Mits4NnlRme8q8KCejvRHgEu7o_hjOcu16oZ8499w4i NITKtjk5yv6Jjq9KRL2lSIWqxhOzuZR1mUbpiBqPlYxHqEkOt0oJA8NqGmubW6voQTYy4CTk_uqi nc4cvCesNiJbTDSM4F6jyNffwZiXlfvy_6A6WzOVVXWkk.UkU1C8o7LZUg2a96kNCBfIAj_i2USI 1cRrngK6fPpF2Mi1bwB83Tm5kBim0srcbzVeCj6YwR4WMYsBp9imXj56JGQVdFyKvZ0Vp0qXnvNz p.qqI2uzAWrSJpoYMUIIRG2yA.5gfHSJPo8f3lT86LapUb.VNNilRwOqtVKwEPaPdovyYbwOHmbe 8EoxThmkFFVWScf4vZRcSSfVRzlmtQqSvosIUEC5AfRdeum8QIG2XcbGBmsr9.3WeM8dYCtNuNM4 Cvj0N4ZWbpjISMeqzaZLiExHbpiaaKJczv1IHo6nHL..gLN_IbGI.kRXv.bYDv.uz3WZDnGfmV9. emtZ.E9qYWhLod.r7w7FbnglaPJWo6p4omnVtODs2W X-Sonic-MF: X-Sonic-ID: c6ab049a-07a2-442e-9ec5-61ac60fb6093 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 18 May 2024 12:25:32 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-86wsl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7f4384ccbd14d7d8834a50c9a4d3b384; Sat, 18 May 2024 12:25:25 +0000 (UTC) In-Reply-To: <87r0e0pj2c.fsf@rodrigomorales.site> (Rodrigo Morales's message of "Fri, 17 May 2024 10:14:03 -0500") X-Mailer: WebService/1.1.22356 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:285332 Archived-At: 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.