Update multicolor font support status

* etc/NEWS: Mention multicolor font support on Cairo and NS.
* src/macfont.m (macfont_list): Re-enable color bitmap fonts.
This commit is contained in:
YAMAMOTO Mitsuharu 2019-04-27 14:43:19 +09:00
parent dfa7f367a0
commit 2822066471
2 changed files with 9 additions and 3 deletions

View file

@ -337,6 +337,9 @@ longer.
directories searched for byte-compiler error messages (this used to
be controlled by compilation-search-path).
** Multicolor fonts such as "Noto Color Emoji" can be displayed on
Emacs configured with Cairo drawing and linked with cairo >= 1.16.0.
* Editing Changes in Emacs 27.1
@ -1977,6 +1980,9 @@ modifier keys in line with Apples guidelines. This makes the drag and
drop behaviour more consistent, as previously the sending application
was able to 'set' modifiers without the knowledge of the user.
** On NS multicolor font display is enabled again since it is also
implemented in Emacs on free operating systems via Cairo drawing.
----------------------------------------------------------------------
This file is part of GNU Emacs.

View file

@ -2344,9 +2344,9 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
!= (spacing >= FONT_SPACING_MONO)))
continue;
/* Don't use a color bitmap font until it is supported on
free platforms. */
if (sym_traits & kCTFontTraitColorGlyphs)
/* Don't use a color bitmap font unless its family is
explicitly specified. */
if ((sym_traits & kCTFontTraitColorGlyphs) && NILP (family))
continue;
if (j > 0