From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: luangruo@yahoo.com, rpluim@gmail.com, 72268@debbugs.gnu.org
Subject: bug#72268: 31.0.50; Color emoji rendering
Date: Fri, 26 Jul 2024 11:25:43 +0200 [thread overview]
Message-ID: <87y15osdwo.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <86zfq43ee9.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Jul 2024 08:34:22 +0300")
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
Eli Zaretskii <eliz@gnu.org> 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?
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Document-unsupported-color-Emoji-on-OpenBSD.patch --]
[-- Type: text/x-patch, Size: 1742 bytes --]
From f2b542d9efdee4908e5a99a1a62adf610048b4b5 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@ledu-giraud.fr>
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
[-- Attachment #3: Type: text/plain, Size: 18 bytes --]
--
Manuel Giraud
next prev parent reply other threads:[~2024-07-26 9:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-24 8:59 bug#72268: 31.0.50; Color emoji rendering Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-24 11:42 ` Eli Zaretskii
2024-07-24 11:59 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-24 12:11 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-24 12:30 ` Eli Zaretskii
2024-07-24 12:58 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-24 13:04 ` Eli Zaretskii
2024-07-24 13:48 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-24 14:15 ` Eli Zaretskii
2024-07-24 14:26 ` Robert Pluim
2024-07-24 16:21 ` Visuwesh
2024-07-24 18:00 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-25 8:00 ` Robert Pluim
2024-07-25 13:36 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-25 14:10 ` Robert Pluim
2024-07-25 15:02 ` Eli Zaretskii
2024-07-25 15:59 ` Stefan Kangas
2024-07-25 16:15 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-25 19:02 ` Eli Zaretskii
2024-07-25 20:07 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-26 5:34 ` Eli Zaretskii
2024-07-26 9:25 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-07-26 10:41 ` Eli Zaretskii
2024-08-04 8:19 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y15osdwo.fsf@ledu-giraud.fr \
--to=bug-gnu-emacs@gnu.org \
--cc=72268@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=luangruo@yahoo.com \
--cc=manuel@ledu-giraud.fr \
--cc=rpluim@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.