GNU bug report logs - #43058
27.1; Support for other colour font formats

Previous Next

Package: emacs;

Reported by: Peter Oliver <lists.gnu.org <at> mavit.org.uk>

Date: Wed, 26 Aug 2020 12:25:02 UTC

Severity: normal

Found in version 27.1

Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 43058 <at> debbugs.gnu.org (full text, mbox):

From: Peter Oliver <lists.gnu.org <at> mavit.org.uk>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43058 <at> debbugs.gnu.org
Subject: Re: bug#43058: 27.1; Support for other colour font formats
Date: Wed, 26 Aug 2020 16:12:06 +0100 (BST)
[Message part 1 (text/plain, inline)]
On Wed, 26 Aug 2020, Eli Zaretskii wrote:
OB
>> From: Peter Oliver <lists.gnu.org <at> mavit.org.uk>
>> Date: Wed, 26 Aug 2020 13:24:05 +0100
>>
>> The NEWS file for Emacs 27.1 says:
>> “Multicolor fonts such as "Noto Color Emoji" can be displayed on
>> Emacs configured with Cairo drawing and linked with cairo >= 1.16.0.”
>> I would submit a patch to change this to mention that only CBDT is currently supported, but I’m not sure if that’s true on, e.g., Windows or MacOS.
>
> AFAIK, we support whatever Cairo supports

As I say, COLR works in other GTK apps, so I don’t think it’s as simple as “Cairo doesn’t support that”.

Observation:

First I grabbed a COLR TTF (e.g., https://github.com/hfg-gmuend/openmoji/raw/47c9efe5449ba2ef77b77cdcae28b00811dea843/font/untouchedsvgz/OpenMoji-Color.ttf) and saved it to ~/.local/share/fonts/.  Then:

ELISP> (x-list-fonts "OpenMoji Color")
("-NONE-OpenMoji Color-normal-normal-normal-*-*-*-*-*-m-0-iso10646-1")
ELISP> (font-info (car (x-list-fonts "OpenMoji Color")))
nil

This makes me suspect that the problem isn’t with outputting with the font, but in finding the font in the first place.  I’m not sure how to go about debugging this.

-- 
Peter Oliver

This bug report was last modified 2 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.