all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu 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: rpluim@gmail.com, tomohisa.kuranari@gmail.com, 73363@debbugs.gnu.org
Subject: bug#73363: 30.0.91; CJK Font Rendering Behavior Changed
Date: Fri, 20 Sep 2024 19:59:47 +0800	[thread overview]
Message-ID: <87o74i1qoc.fsf@yahoo.com> (raw)
In-Reply-To: <86setu7sbn.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Sep 2024 09:27:40 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> That's the only font-related change I found there, yes.
>
> Regardless of the effect of reverting it, I'd appreciate if Po Lu
> could explain its rationale (and improve the comments with that),
> since the log message and the comments don't say enough for me to
> figure that out.  In particular, this part of the comment:
>
>   TrueType fonts have contrived character map selection
>   semantics which makes determining the repertory at font
>   spec matching time unduly expensive.
>
> What does this allude to (details and examples of such contrived
> character map selection semantics, please), and where's the code where
> spec matching becomes expensive without this change?

Some of our font backends (sfntfont, at least, and perhaps macfont in
this case) will return different registries from that which was
specified in the font spec when enumerating font entities, in order to
enable font specs requesting an ASCII charset also to match fonts with
Unicode as the charset.  If cached, these font entities will be
repeatedly rejected in font_find_for_lface after being opened, with
obvious consequences for performance.





  parent reply	other threads:[~2024-09-20 11:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-19 14:50 bug#73363: 30.0.91; CJK Font Rendering Behavior Changed Tomohisa Kuranari
2024-09-19 16:33 ` Eli Zaretskii
2024-09-19 17:02   ` Robert Pluim
2024-09-19 17:59     ` Eli Zaretskii
2024-09-19 20:10     ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-20  6:12       ` Eli Zaretskii
2024-09-20  8:21         ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-19 23:51     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-20  6:27       ` Eli Zaretskii
2024-09-20  8:44         ` Robert Pluim
2024-09-20 10:29           ` Eli Zaretskii
2024-09-20 11:07             ` Robert Pluim
2024-09-20 13:24               ` Eli Zaretskii
2024-09-20 13:42                 ` Robert Pluim
2024-09-20 13:53                   ` Eli Zaretskii
2024-09-20 14:03                     ` Robert Pluim
2024-09-20 11:59         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-09-20 12:08           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-20 12:24             ` Robert Pluim
2024-09-20 13:50               ` Eli Zaretskii
2024-09-20 14:24                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-20 15:41                   ` Eli Zaretskii
2024-09-21  1:09                     ` Tomohisa Kuranari
2024-09-21  2:31                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-21  8:27                       ` 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=87o74i1qoc.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=73363@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=rpluim@gmail.com \
    --cc=tomohisa.kuranari@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.