bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#15420: 24.3; Symbols like ๐Ÿšด (U+1F6B4) are not displayed by default


From: Mike FABIAN
Subject: bug#15420: 24.3; Symbols like ๐Ÿšด (U+1F6B4) are not displayed by default
Date: Thu, 15 Aug 2019 11:25:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stephen Berman <address@hidden> ใ•ใ‚“ใฏๆ›ธใใพใ—ใŸ:

> On Wed, 14 Aug 2019 20:42:11 -0700 Lars Ingebrigtsen <address@hidden> wrote:
>
>> Mike FABIAN <address@hidden> writes:
>>
>>> After emacs -Q, try to load a file containing
>>>
>>> ๐Ÿšฒ U+1F6B2 BICYCLE
>>> ๐Ÿšด U+1F6B4 BICYCLIST
>>> ๐“€€ U+13000 EGYPTIAN HIEROGLYPH A001
>>>
>>> Glyhps for these characters are not displayed by default,
>>> even when fonts with these glyphs are installed.
>>>
>>> For example "Symbola" by George Douros (http://users.teilar.gr/~g1951d/)
>>> has ๐Ÿšฒ U+1F6B2 BICYCLE and ๐Ÿšด U+1F6B4 BICYCLIST and
>>> "Noto Sans Egyptian Hieroglyphs" from Google has ๐“€€ U+13000 EGYPTIAN
>>> HIEROGLYPH A001.
>>>
>>> Instead boxes showing the codepoints are displayed.
>>
>> (I'm going through old bug reports that have unfortunately gotten no
>> responses yet.)
>>
>> I tried reproducing this in Emacs 27 (under Linux).  I installed the
>> Symbola fonts and started an Emacs, and it displayed the bicycle
>> characters without any problems, so I'm unable to reproduce this bug.
>>
>> Are you still seeing it, or has it been fixed during the intervening
>> years?
>
> I have both the Symbola and Aegyptus fonts installed; when I run emacs
> with -Q, only the bicycle and bicyclist characters are correctly
> displayed, the Egyptian hieroglyph is displayed as a hex box.  But when
> I then set the default font (e.g. via the Options menu) to Aegyptus
> Regular, all three characters are correctly displayed.  So the installed
> Symbola fonts are found by default, but not the installed Aegyptus
> fonts.
>
> Steve Berman

For years I did build with my little extra  patch on top of git master,
like this:

commit 258c86a974f788a33a019a082473781a2a603043
Author: Mike FABIAN <address@hidden>
Date:   Tue Sep 17 18:41:50 2013 +0200

    Display some symbols correctly by default
    
    For example display U+1F6B4 BICYCLIST and Egyptian Hieroglyphs
    correctly by default.

diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el
index 0413646dfb3..bba5c58c79a 100644
--- a/lisp/international/fontset.el
+++ b/lisp/international/fontset.el
@@ -912,6 +912,10 @@ setup-default-fontset
                    '("gnu-unifont" . "iso10646-1") nil 'prepend)
   (set-fontset-font "fontset-default" nil
                    '("mutt-clearlyu" . "iso10646-1") nil 'prepend)
+  (set-fontset-font "fontset-default" nil
+                   '("Symbola" . "iso10646-1") nil 'prepend)
+  (set-fontset-font "fontset-default" nil
+                   '("Noto Sans Egyptian Hieroglyphs" . "iso10646-1") nil 
'prepend)
   (set-fontset-font "fontset-default" '(#x20000 . #x2FFFF)
                    '(nil . "unicode-sip"))
 

But now I tried again with current master without that patch and it
worked. Symbola was used for the bicycles and "Noto Sans  Egyption
Hieroglyphs" for the  hieroglyph even without my patch. So something
seems to have been fixed.

-- 
๐Ÿ“ง Mike FABIAN   <address@hidden>
็ก็œ ไธ่ถณใฏใ„ใ„ไป•ไบ‹ใฎๆ•ตใ ใ€‚





reply via email to

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