>>>> "Nick" == Nick V Pakoulin
<npak(a)ispras.ru> writes:
Nick> How to make XEmacs use koi8-r fonts instead of iso8859-5 fonts?
Build without Mule, use koi8-r file and process encodings, and set the
font to koi8-r using X resources or command line arguments.
Nick> And many people complain that they have to install 8859-5
Nick> fonts for XEmacs solely while all other apps do well with
Nick> koi8.
If you have an example of a multilingual app that works with koi8-r,
I'd like to know about it.
Does GNU Emacs do it correctly? If so, it should be possible to
port. Are there any tricks involved (eg, like using unibyte buffers)?
Nick> Is there easy and straightforward way to use koi8-r fonts in
Nick> Mule xemacs?
Only if you are willing to limit yourself to 8859-5 portions of the
KOI8 character set. The problem is that XEmacs basically assumes that
KOI8 is a remapping of ISO Cyrillic, and translates other characters
to a dummy replacement. In that case it should be possible to derive
a font mapping CCL program from the code for KOI8 file encoding.
Another possibility would be to create a KOI8-R charset (XEmacs
currently doesn't have one), and install it in private space. Like
the "no Mule" solution, this would require that you use KOI8-R file
encodings; you would not be able to easily save those buffers in
ISO-8559-5. You would also find it difficult to save multilingual
files mixing KOI8 with any other character set (except ASCII, of
course).
I would guess that would be acceptable (probably everybody already
uses KOI8 in their files); is it?
Can you tell me where I could get free KOI8 fonts? The only one I
have is -etl-fixed-medium-r-normal--16-160-72-72-c-80-koi8-1 from the
GNU intlfonts collection.
Also, how are the KOI8-R fonts specified under X and Windows? (I
can't do much about the latter, I don't know anything about Windows,
but I can at least document it for when somebody who does Windows
wants to work on it.)
It's going to be a while before I can work much on this, but let me
know about the GNU Emacs, what registry(s) are used for KOI8-R in X11,
and whether saving files in KOI8-R is acceptable.
I may have more questions to make things more robust and allow
multilingual use, but answers to these should be enough to allow Mule
to work with pure KOI8-R files and display them on screen.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."