[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script-representative-chars vs incomplete fonts

From: Kévin Le Gouguec
Subject: Re: script-representative-chars vs incomplete fonts
Date: Tue, 14 Sep 2021 00:46:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <> writes:

>> The docstring also says this:
>>     If it is a list, all characters in the list are necessary for
>>     supporting SCRIPT.
>>     If it is a vector, one of the characters in the vector is necessary.
> So you want to require both upper- and lower-case variants?

As a mitigation against fonts like KpMath, yes.  See attached debugging
code, and subsequent patch/screenshot pairs.

Attachment: test-fontset.el
Description: Text Data

Emacs 28, unpatched:

Attachment: 0-unpatched.png
Description: PNG image

"Vector" patch, with even worse results:

Attachment: fontset-vector.patch
Description: Text Data

Attachment: 1-vector.png
Description: PNG image

"List" patch, with satisfactory results:

Attachment: fontset-list.patch
Description: Text Data

Attachment: 2-list.png
Description: PNG image

Alternative "list" patch, with fewer mandatory codepoints and similarly
good results:

Attachment: fontset-26.patch
Description: Text Data

Attachment: 3-list26.png
Description: PNG image

Should I submit (a variation of) one of these patches to bug-gnu-emacs?
Or should I look into other solutions?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]