Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to make unicode 6 chars show in emacs?

96 views
Skip to first unread message

Xah Lee

unread,
Apr 29, 2012, 3:56:03 PM4/29/12
to

Unicode 6 is now supported in emacs 24. For example, call ucs-insert
【Ctrl+x 8 Enter】 then “GRINNING CAT FACE WITH SMILING EYES”, then you
get this char 😸.

however, emacs doesn't show the char unless you explicitly switch to a
font (Symbola) that contains the char. But the grinning cat shows in
browsers.

is there anything one can do for this?

does emacs rely on OS's font substitution tech or does it has its own?

( link to Symbola font http://xahlee.org/comp/unicode_6_emoticons.html
)

Xah

B. T. Raven

unread,
May 20, 2012, 6:13:55 PM5/20/12
to
Die Sun Apr 29 2012 14:56:03 GMT-0500 (Central Daylight Time) Xah Lee
<xah...@gmail.com> scripsit:

>
> Unicode 6 is now supported in emacs 24. For example, call ucs-insert
> 【Ctrl+x 8 Enter】 then “GRINNING CAT FACE WITH SMILING EYES”, then you
> get this char 😸.
>
> however, emacs doesn't show the char unless you explicitly switch to a
> font (Symbola) that contains the char. But the grinning cat shows in
> browsers.

That's normal. It even shows in this email for those who have Symbola
font installed. Even Aegyptus 133E3 hieroglyph will show up in Emacs if
I change the buffer font to Aegyptus and then do ucs-insert. (ver. 23.3)
>
> is there anything one can do for this?

Maybe fontsets. I don't know anything about them though. I assume they
work in w32 build also with ttf fonts. M-x list-fontsets shows only
these here (really not composite sets):

Fontset: -outline-Arial Unicode
MS-normal-normal-normal-sans-13-*-*-*-p-*-fontset-auto1
Fontset: -outline-Arial Unicode
MS-normal-normal-normal-sans-14-*-*-*-p-*-fontset-auto2
Fontset: -outline-Courier
New-normal-normal-normal-mono-16-*-*-*-c-*-fontset-auto3
Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -*-courier new-normal-r-*-*-13-*-*-*-c-*-fontset-standard
Fontset: -outline-Courier
New-normal-normal-normal-mono-13-*-*-*-c-*-fontset-startup


>
> does emacs rely on OS's font substitution tech or does it has its own?

I think it relies on the OS. I don't see any functions for that on my
install.


Ed
0 new messages