unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to make unicode 6 chars show in emacs?
@ 2012-04-29 19:56 Xah Lee
  2012-05-20 22:13 ` B. T. Raven
  0 siblings, 1 reply; 2+ messages in thread
From: Xah Lee @ 2012-04-29 19:56 UTC (permalink / raw)
  To: help-gnu-emacs


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to make unicode 6 chars show in emacs?
  2012-04-29 19:56 how to make unicode 6 chars show in emacs? Xah Lee
@ 2012-05-20 22:13 ` B. T. Raven
  0 siblings, 0 replies; 2+ messages in thread
From: B. T. Raven @ 2012-05-20 22:13 UTC (permalink / raw)
  To: help-gnu-emacs

Die Sun Apr 29 2012 14:56:03 GMT-0500 (Central Daylight Time) Xah Lee
<xahlee@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

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-20 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-29 19:56 how to make unicode 6 chars show in emacs? Xah Lee
2012-05-20 22:13 ` B. T. Raven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).