On Sun, 28 Dec 2003 [EMAIL PROTECTED] wrote:
> [A week or so ago I wrote a multilingual text, and several
> languages failed under default Mozilla. If we succeed in
> getting a version that handles devanagari then a next point
You have to make sure to tag the Devanagari part with 'lang="hi-IN"'
for html and 'xml:lang="hi-IN" lang="hi-IN"' for xhtml (if it's Hindi).
That is, you have to do something like this for Xhtml.
<p lang="hi-IN" xml:lang="hi-IN">
...............
</p>
<div lang="hi-IN" xml:lang="hi-IN">
...............
</div>
<html lang="hi-IN" xml:lang="hi-IN">
...............
</html>
<body lang="hi-IN" xml:lang="hi-IN">
...............
</html>
You may also 'style' Devanagari parts with the following style:
font-family: sun_devanagari_font,
default_devanagari_font_on_Windows,
default_devanagari_font_on_Mac,
some_free_devanagari_opentype_fonts,
generic_css_family
The reason you have to put 'sun_devanagari_font' at the beginning
is that 'sun_devanagari_font' is not likely to be installed
on most Windows/Mac OS X so that it doesn't do any harm
while for Mozilla-Linux, it's essential that it's picked up
_before_ other Devanagari likely to be installed on Linux.
Certainly, things should be easier than this, but that's where Mozilla
stands at the moment.
> for discussion will be vocalized Hebrew. For now the first
It's not likely to work yet because vocalized Hebrew involves
combining marks (right?).
Jungshik
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/