From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: yyoncho Newsgroups: gmane.emacs.devel Subject: how to detect that current font does not have particular unicode char Date: Sat, 19 Dec 2020 10:54:35 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000802bfa05b6cd6042" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35464"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 19 09:56:05 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kqY20-00099y-V8 for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Dec 2020 09:56:04 +0100 Original-Received: from localhost ([::1]:54774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqY20-0004cV-1J for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Dec 2020 03:56:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqY0p-0003lB-3p for emacs-devel@gnu.org; Sat, 19 Dec 2020 03:54:51 -0500 Original-Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:33392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqY0n-00079I-Lg for emacs-devel@gnu.org; Sat, 19 Dec 2020 03:54:50 -0500 Original-Received: by mail-lf1-x129.google.com with SMTP id l11so11731255lfg.0 for ; Sat, 19 Dec 2020 00:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WcRE+e+R4kMmDhu/D+UbnM2hM8G0cU2BDfExxEg1t6U=; b=JKtuOfx+5jAu2NGGjbVCqNhk2kwSinz32KLccN2Mh44NpWjOhPoMBdZjht4CgjsZw4 FW6aUuN3ZYKqrCVfA8riexC4tXv+Qdsd3mIOojLbiGx6fHaDbe4f0l7oHVb55HEH7HbG L4AMbP87b9J/aRB7jVbhlh5Bf27IZCaCJDbYka6IBVmstmV+ptoze/czctPJpHPb9YPw GsRDnbeCEbqwp74x/yHpoSzrbgfH19IEGqJIDn6gbLTdoU9oXZZPOYN9oZzCYPK6Lus3 X6UU8T0J3+bBHcS9OJIoXqinsPhlb/G5cpzK8jv5yieyCrV67nQP8Rmd6NgeWBgU5+iM kFZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WcRE+e+R4kMmDhu/D+UbnM2hM8G0cU2BDfExxEg1t6U=; b=d4JWd5G26R4+k56WCzKN/60NOFJIM2I/H17pMjzm2GPxPgGE/+BioxT9lJL4Ae7UHq 5+ik8/RxC1o8kuoyqkwTLefXlLkB4AyYXqRC1GzpwwN0GynEoXTR//GsJcQWW/I3jkSc OFdzZVGGE4iDJ6ehKjTP6ZJvnGGBfECMMyGkNhfSeh3+3WRx2DThVw439uUdCkTlwcAE L+7s1E1D2fdxjEjG4VFg9Ad1S3RVTcSXa0q4gZ8RAQ65OadIws/SKgS+SD6eBnwzjyg3 XB/wgMAzYqGy5ViWKnC8K1IrYOht1Ost+Bjhy6geqr0ys/osnzRAbOzOqPdyfKwqhFQk cOMQ== X-Gm-Message-State: AOAM530uTlpkQT3KJrfzSpmsLoL/tKVcgyEF6IQVF4KAMDJGQ2wA7TX8 QIe1H08ind/VhRzPOzTCDZC5SBGspcstB/5a7RTvMXWR7FUfhQ== X-Google-Smtp-Source: ABdhPJxbi0tPU20w5+iJxilSaUgkiwKWrLgQRducT4h1p+zpSsqfUXwt5H0jNf5xVTH6DUqoLLuttEXQOJwbkzrEtuM= X-Received: by 2002:a19:7fc8:: with SMTP id a191mr2939015lfd.178.1608368087115; Sat, 19 Dec 2020 00:54:47 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=yyoncho@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261240 Archived-At: --000000000000802bfa05b6cd6042 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I am trying to implement an automatic fallback if the user has configured a font that does not have a particular unicode char (e. g. =E2=80=9C=F0=9F=92= =A1=E2=80=9D (U+1F4A1)). I tried to use char-displayable-p but it seems like it is not what I am looking for. Thanks, Ivan --000000000000802bfa05b6cd6042 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I am trying to implement an aut= omatic fallback if the user has configured a font that does not have a part= icular unicode char (e. g.=C2=A0=E2=80=9C=F0=9F=92=A1=E2=80=9D (U+1F4A1)). = I tried to use=C2=A0char-displayable-p but it seems like it is not what I a= m looking for.

Thanks,
Ivan
--000000000000802bfa05b6cd6042--