unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Probably dumb question: glyph rendering on unicode-2 branch
@ 2005-10-17 13:46 Adrian Robert
  2005-10-24 14:43 ` Adrian Robert
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Robert @ 2005-10-17 13:46 UTC (permalink / raw)


Hi,

I apologize if this is a dumb question, but I've been looking through  
the code and can't figure this one out: on the unicode-2 branch, if a  
font specifies "iso-10646-1" for XLFD registry/encoding (and then  
fontset.c sets 'charset' accordingly), what exactly is getting passed  
in struct glyph_string.char2b to x_draw_glyph_string()?  Not UTF-8,  
since it's just 2 bytes.  UCS-2?  UTF-16?  Don't these exclude a lot  
of unicode characters?  Is that what the "composition" machinery is  
for?  (But I thought that had to do with the script itself involving  
composition, like Arabic or Korean Hangul..)

Does emacs provide any internal facility to get UTF-8?

Also, what (encoding) is in glyph.u.ch?  Is that UCS-4?  UTF-32?

thanks,
Adrian

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

end of thread, other threads:[~2005-10-25  3:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-17 13:46 Probably dumb question: glyph rendering on unicode-2 branch Adrian Robert
2005-10-24 14:43 ` Adrian Robert
2005-10-25  1:33   ` Kenichi Handa
2005-10-25  3:24     ` Adrian Robert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).