Redhat 7.1 comes with Watanabe/Wadalab TTF and fonts.dir
has the following entries:

watanabe-mincho.ttf -watanabe-mincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
watanabe-mincho.ttf -watanabe-mincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
watanabe-mincho.ttf -watanabe-mincho-medium-r-normal--0-0-0-0-p-0-iso8859-1
watanabe-mincho.ttf -watanabe-mincho-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0
wadalab-gothic.ttf -wadalab-gothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
wadalab-gothic.ttf -wadalab-gothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
wadalab-gothic.ttf -wadalab-gothic-medium-r-normal--0-0-0-0-p-0-iso8859-1
wadalab-gothic.ttf -wadalab-gothic-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0

  When used under MS-Windows, glyphs for US-ASCII part (or ISO-8859-1
part) are about twice as narrow as glyphs for Japanese
characters. However, the width of glyphs for US-ASCII part is the same
as that of glyphs for Japanese characters when it is presented to X11
clients by freetype backend of XFree86 4.x. That is, the width of US-ASCII
glyphs  is abnormally wide making text rendered with them very ugly.

  The same is true of other CJK TTFs with US-ASCII glyphs (e.g. Gulim/Batang
for Korean).

  I discovered this problem while trying to figure out why Korean-English
mixed text in Korean emails gets rendered very ugly by Mozilla-Mail.
(ref: http://bugzilla.mozilla.org/show_bug.cgi?id=102623
      and http://bugzilla.mozilla.org/show_bug.cgi?id=94327 )
It turns out that Mozilla uses the first matched
font of which family is 'gothic' which happens to be
-wadalab-gothic-medium-r-normal--0-0-0-0-c-0-iso8859-1.  There's a fix
for this problem for Mozilla, but there's still a need to get the width
'right' (?). A easy way around is just removing iso8859-1 entries in
fonts.dir/fonts.scale for CJK TTFs. However, US-ASCII glyphs for those CJK
TTFs are not put in there without any reason. They're designed to get along
better side-by-side with CJK glyphs  than other 'Western-only' fonts so
that in MS-Windows they(US-ASCII glyphs of CJK TTFs) are used to render
US-ASCII part of mixed English-CJK text. X11 users may expect the same.

  This problem gets more complicated if one wants to 'extract'
character-cell iso10646-1 fonts out of these CJK TTFs. In that case,
nothing can be done other than NOT putting an entry like the following:

wadalab-gothic.ttf -wadalab-gothic-medium-r-normal--0-0-0-0-c-0-iso10646-1

(Aha, there's one thing that can be done. Subsetting support ! )

However, entries like this should be fine

wadalab-gothic.ttf -wadalab-gothic-medium-r-normal--0-0-0-0-p-0-iso10646-1

provided that the average width of US-ASCII glyphs is abuot half of
that of CJK glyphs.

   Jungshik Shin

_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to