I'm having mail problems ... if this has been properly answered
already, forgive me, but it looks like so far it's been dropped on the
floor.
>>>> "Nickolay" == Nickolay Pakoulin
<npak(a)ispras.ru> writes:
Nickolay> Not sure this is the proper place for the questions, but
Nickolay> still ... I'm a total newbiew to programming for MULE
Nickolay> though Lisping in XEmacs over 5 years. So, have several
Nickolay> questions.
This isn't really Lisp in the sense of the Lispref; this is well into
internals. The practical interface will change completely as 21.5
gets polished up (effectively, you just need to learn to write
Unicode.org-style files, see etc/unicode in the source distribution).
Nickolay> I can understand 172 -- it is equal to (charset-id
Nickolay> 'experimental-charset). 160 из 32 with highest bit set.
Nickolay> BUT! where does the magic number 158 comes from?
See src/charset.[ch]. There are huge comments there about this.
There is some information in the Internals info manual, but it's a
little out of date. Basically, 158 is an additional prefix to
identify this as a private charset.
Nickolay> The second question relates to font selection. Under
Nickolay> windows, when I try to display a char from the charset,
Nickolay> i get a warning:
Nickolay> (font/notice) Unable to instantiate font for charset
Nickolay> experimental-charset, face default
Nickolay> So, what is the method to associate a particular font
Nickolay> (potentially with font family that differs from the
Nickolay> default font family) with a charset?
On X, you do it with the "registry" property in make-charset. On
Windows, you probably have to rewrite the C code (maybe CCL will do).
See objects-msw.c about mapping charsets to fonts.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.