From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72268: 31.0.50; Color emoji rendering Date: Fri, 26 Jul 2024 11:25:43 +0200 Message-ID: <87y15osdwo.fsf@ledu-giraud.fr> References: <87ikwv5foo.fsf@ledu-giraud.fr> <86y15r6mpc.fsf@gnu.org> <874j8f57ch.fsf@ledu-giraud.fr> <86sevz6kgk.fsf@gnu.org> <87ttgf7xps.fsf@ledu-giraud.fr> <86le1r6iwg.fsf@gnu.org> <87r0biew94.fsf@ledu-giraud.fr> <86h6ce7u5r.fsf@gnu.org> <87cyn29881.fsf@gmail.com> <878qxq7jqn.fsf@ledu-giraud.fr> <875xst99zf.fsf@gmail.com> <87ttgd8ufy.fsf@ledu-giraud.fr> <86cyn14iqx.fsf@gnu.org> <87plr1tpl9.fsf@ledu-giraud.fr> <867cd947o1.fsf@gnu.org> <87bk2ltevg.fsf@ledu-giraud.fr> <86zfq43ee9.fsf@gnu.org> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35618"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: luangruo@yahoo.com, rpluim@gmail.com, 72268@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 26 11:26:19 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 1sXHDO-0008zC-JL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jul 2024 11:26:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXHD2-0008O2-MS; Fri, 26 Jul 2024 05:25:56 -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 1sXHD0-0008Mo-Dw for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 05:25:54 -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 1sXHD0-0001dI-66 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 05:25:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXHD7-0001we-LY for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 05:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2024 09:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72268 X-GNU-PR-Package: emacs Original-Received: via spool by 72268-submit@debbugs.gnu.org id=B72268.17219859617470 (code B ref 72268); Fri, 26 Jul 2024 09:26:01 +0000 Original-Received: (at 72268) by debbugs.gnu.org; 26 Jul 2024 09:26:01 +0000 Original-Received: from localhost ([127.0.0.1]:38782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXHD6-0001wQ-Jc for submit@debbugs.gnu.org; Fri, 26 Jul 2024 05:26:00 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:13063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXHD3-0001wA-7W for 72268@debbugs.gnu.org; Fri, 26 Jul 2024 05:25:59 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=Nhki1F6+ zunwwxbTkGE4SV2dIIdY4T/qOp0+F4J4ZWM=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=19bIaXOiVw+IlCiMnS0tS9+cKPAE+r 2SMlGW7LtbQ/PCo56/4cOgTLqTRMuiaRk2thoelP47/yAX0r8RxtzODg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=Nhki1F6+zunwwxbT kGE4SV2dIIdY4T/qOp0+F4J4ZWM=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=ZdSZT64Zj1fzb/47gKcXJZyfqyXgSecIqt1rZj FzEovLKUit7brQwErP0O1+m8aJ8uSnbCByXCvNyqKdmw61lpU7f8vGSCJHa4kO/UxvIACE f7SCBRrVOamS5u+C7GZ1UVBp+7M9invXR+ADkIJ00sn7wWed315xFdcK26CMtzNE4ADQiX icy4LUBVxv0Eku9tYNgHISK0sBDPcigWSRvC93CgbLg5Snip46UEjHsKg7/bR+3WqAd7It NKRCULFSrIo5+oKyhFQdm9sKniuXIEMMWRZe4M7kt8uk2W6jBtBxCTxLAPcRonueuaBFFB elJDcch0l3LLiLW5jmJ5uxog== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id ae7b8173 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 26 Jul 2024 11:25:45 +0200 (CEST) In-Reply-To: <86zfq43ee9.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Jul 2024 08:34:22 +0300") 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:289352 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: [...] > Indeed, we don't need to describe all the details there. We just need > to say that display of color Emoji needs the FreeType library with PNG > support, and if such a FreeType library is not available, users could > consider rebuilding it with PNG support on their system. What do you think of this? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Document-unsupported-color-Emoji-on-OpenBSD.patch >From f2b542d9efdee4908e5a99a1a62adf610048b4b5 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Thu, 25 Jul 2024 13:57:59 +0200 Subject: [PATCH] Document unsupported color Emoji on OpenBSD Bug#72268 * etc/PROBLEMS (Runtime problems related to font handling): Document unsupported color Emoji on OpenBSD. --- etc/PROBLEMS | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index f8fb9f90c0b..939005780a8 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -1274,6 +1274,27 @@ Emacs will select some other font instead. The only workaround is not to choose such font variants as the default font when running Emacs on MS-Windows. +** On OpenBSD, color Emoji are not supported by default. + +The system's FreeType library is not built with libpng support, so it +can't display color emoji. This is due to the fact that, on OpenBSD, +libpng is provided through ports and that a base component cannot depend +on that. + +However, you can add support for PNG in the system's FreeType library by +following those steps: + 1. Install the 'png' package. + 2. Read the release(8) man page for how to get Xenocara sources. + 3. Patch the file + "/usr/xenocara/lib/freetype/include/freetype/config/ftoption.h" + by uncommenting the "#define FT_CONFIG_OPTION_USE_PNG" line. + 4. Patch the file "/usr/xenocara/lib/freetype/Makefile" by + appending "-L/usr/local/lib -lpng" to LDADD and appending + "-I/usr/local/include" to CPPFLAGS. + 5. Build and install Xenocara (also, see release(8)). + +Note that this support will be gone after each OpenBSD's system upgrade. + * Internationalization problems ** M-{ does not work on a Spanish PC keyboard. -- 2.45.2 --=-=-= Content-Type: text/plain -- Manuel Giraud --=-=-=--