unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Robert Nikander <robert.nikander@icloud.com>
Cc: 72188@debbugs.gnu.org
Subject: bug#72188: 29.2; Won't render U+2F75 kangxi radical character
Date: Sat, 20 Jul 2024 09:51:32 +0300	[thread overview]
Message-ID: <86v810eetn.fsf@gnu.org> (raw)
In-Reply-To: <d55af43c-4e40-400f-9345-c82a3f315975@icloud.com> (bug-gnu-emacs@gnu.org)

> Date: Fri, 19 Jul 2024 12:17:30 -0600
> From:  Robert Nikander via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 
> I'm trying to include a certain unicode character in some files. The 
> character is U+2F75 - KANGXI RADICAL BAMBOO: ⽵.
> 
> Even though my Windows system has fonts that render that glyph, Emacs
> will not use them, and it renders the character as the box with the
> "2F75" in it. If if my default face doesn't have the glyph,
> shouldn't Emacs fall back on a font that does have the glyph, when it
> hits that unicode character?

It should, yes.  However, the Emacs setup for CJK fonts is very
complex, and we don't currently have experts on board to understand
why it doesn't work on MS-Windows.  So for now, you will have to put
the below somewhere in your init file:

  (set-fontset-font t 'han
                      '("Microsoft YaHei" . "iso10646-1") nil 'append)

to have these characters covered.

If this works for you, it is currently all we can do for this
situation.  (And before you ask: we cannot have the above by default
in Emacs OOTB because we don't want to promote non-free fonts that
Windows provides.)





  parent reply	other threads:[~2024-07-20  6:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-19 18:17 bug#72188: 29.2; Won't render U+2F75 kangxi radical character Robert Nikander via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-19 20:18 ` Stefan Kangas
2024-07-20  6:51 ` Eli Zaretskii [this message]
2024-08-04  7:24   ` Eli Zaretskii
2024-08-04  7:28     ` Robert Nikander via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v810eetn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=72188@debbugs.gnu.org \
    --cc=robert.nikander@icloud.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).