[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with Japanese fonts (firefox/emacs/java)



Hello!

I hope this is a good place to ask these questions, and please
apologize me for posting in English, since my Japanese is not good
enough.

I'm trying to set up a Japanese environment on my NetBSD-2.99.11/i386
system.

I have the cyberbit-ttf and kochi-ttf fonts installed, and the
emacs/leim/mule-ucs packages.

The first problem I have is that when visiting e.g. on
	http://www.safalra.com/science/linguistics/unicoderadicals.html
with Firefox, not all of the radicals are displayed correctly; some
are replaced by a box with 4 hexadecimal digits inside. For example,
in the fifth line
	4E59 to 4E84    44      \x{4E59} \x{4E5A} \x{4E5B}
only the first two characters are displayed as Kanji, the third
one is a box with 4E5B inside; similarly for the
	5DDB to 5DE4    10      \x{5DDB} \x{5DDC} \x{5DDD}
line, where the second character is a box.

I guess that this the font firefox is using is missing some glyphs.
Does anyone know of a (free) font that can display the page mentioned
above without problems? (and how to make firefox use it)

The second problem I have is with editing radicals in emacs.  I
saved the webpage and opened it with emacs (started with -fn
fontset-standard) but got even fewer characters displayed.  For
example, the radical in the second line (the vertical bar) is
displayed as an empty box instead; and some of them like the third
one in the fifth line, the one that was making trouble in firefox
too, didn't get imported correctly at all (I just got a question
mark there). My guess is, again, that it's a font problem, but I
didn't even manage to make emacs accept the kochi font as fonts;
when I do
	(prin1-to-string (x-list-fonts "*))CTRL-J
in the *scratch* buffer, the kochi and cyberbit fonts are not even
in the list. How can I make emacs use a more complete font?

And lastly, I tried running jgloss (a package for it is in
pkgsrc-wip/jgloss, see http://pkgsrc-wip.sf.net), which is a Java
program to annotate Japanese text.  However, I don't know how to
make it display any Japanese text at all. Do you know how?

Thank you for reading this far. Thank you in advance for any hints
you can give me about these problems.
 Thomas