all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 15afa72460b: Fix 'script-representative-chars' for the 'han' script
Date: Wed, 07 Aug 2024 20:12:55 +0800	[thread overview]
Message-ID: <874j7wo7js.fsf@yahoo.com> (raw)
In-Reply-To: <86cymko8pk.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Aug 2024 14:47:51 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Cc: emacs-devel@gnu.org
>> Date: Wed, 07 Aug 2024 08:17:08 +0800
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > Note that I said "if you remove those characters".
>> >
>> > If you did note that, then does it mean when U+2F75 needs to be
>> > installed and the current font for han doesn't support it, Emacs will
>> > never try to look for _another_ font which supports han characters?
>> > Or will it try, but always fail?
>> 
>> How do you mean?  During Emacs's search for a suitable font, it is yet
>> to decide what is the "current font for han."
>
> I mean the following scenario:
>
>   . start Emacs
>   . type some common han character, which will be displayed by a font
>     that supports the common han characters
>   . type some rare han character, such as U+2F75, not supported by the
>     font chosen in the previous step
>
> I'm asking whether Emacs will in step 3 search and find a font which
> can display U+2F75, or will it show tofu because it already has a han
> font, and that font doesn't support U+2F75?

In principle, yes, but with the important exception that the font which
supports U+2F75 must also support all of the characters in the entry in
script-representative-chars for han.

> But when Emacs actually needs to display one of those rare characters,
> will Emacs which uses Fontconfig then be able to find a suitable font,
> if it is installed?

The answer is yes, at least subject to the above.



      reply	other threads:[~2024-08-07 12:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172267024373.1752.11669700725951474437@vcs2.savannah.gnu.org>
     [not found] ` <20240803073044.42052C1CAF7@vcs2.savannah.gnu.org>
2024-08-03  9:27   ` master 15afa72460b: Fix 'script-representative-chars' for the 'han' script Po Lu
2024-08-03 15:23     ` Eli Zaretskii
2024-08-04  0:16       ` Po Lu
2024-08-04  4:57         ` Eli Zaretskii
2024-08-04  7:58           ` Po Lu
2024-08-05 16:25         ` Eli Zaretskii
2024-08-05 23:58           ` Po Lu
2024-08-06 11:35             ` Eli Zaretskii
2024-08-07  0:17               ` Po Lu
2024-08-07 11:47                 ` Eli Zaretskii
2024-08-07 12:12                   ` Po Lu [this message]

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=874j7wo7js.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.