GNU bug report logs - #23362
25.0.93; Unicode chars (such as 0x1F600) are not rendered correctly

Previous Next

Package: emacs;

Reported by: Peter Wang <ptr.wang <at> gmail.com>

Date: Sun, 24 Apr 2016 17:46:01 UTC

Severity: normal

Tags: notabug

Found in version 25.0.93

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Peter Wang <ptr.wang <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23362 <at> debbugs.gnu.org
Subject: bug#23362: 25.0.93; Unicode chars (such as 0x1F600) are not rendered correctly
Date: Mon, 25 Apr 2016 04:59:17 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Peter Wang <ptr.wang <at> gmail.com>
>> Date: Mon, 25 Apr 2016 01:40:59 +0800
>> 
>> On OSX, this pretest release breaks render of some unicode chars.
>> 
>> ;;; 😀😂
>> (set-frame-font "Monaco:pixelsize=16")
>> (set-fontset-font
>> (frame-parameter nil 'font)
>> 'symbol (font-spec :family "Apple Color Emoji") nil 'prepend)
>> 
>> there should be two symbols in the first line of above snippets if
>> rendered correctly.
>> 
>> BTW, the last pretest does not have such issue. the version of last
>> pretest is:
>> 
>> GNU Emacs 25.0.92.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1603)) of
>> 2016-03-03
>
> Isn't this a consequence of this commit:
>
>   commit 9344612d3cd164317170b6189ec43175757e4231
>   Author: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
>   Date:   Tue Apr 12 08:26:51 2016 +0900
>
>       Disable multicolor fonts on OS X since they are not supported on free system
>
>       * src/macfont.m (macfont_list): Don't use color bitmap fonts.
>
> If you revert it, does the problem go away?  If not, can you please
> bisect the emacs-25 branch between 25.0.92 and now, and see which
> commit caused this?
>
> Thanks.

I tried to revert this commit (one line of code) on head
(e6d6a99455183bca5074b7601ad11d424da6442e) and rebuild it. Now the issue
goes away.

If I understand correctly, this part of code is OSX specific, how is it
related to other free system? Could you elaborate more on it, Thanks!





This bug report was last modified 9 years and 87 days ago.

Previous Next


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