[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#19287: Konqueror: incorrect Unicode font width for dual byte language.
From:       shi () shi ! phy ! okstate ! edu
Date:       2001-01-28 17:05:24
[Download RAW message or body]

Package: khtml
Version: 2.0.1
Severity: normal

It is possible to display a chinese web page in unicode by using konqueror. The \
problem is, chinese characters are two times wider than the western characters. This \
creats a problem for the webpags mxing chinese and western characters(actually all \
chinese pages have western characters, such as space, number etc.), where the western \
characters are displayed with the width of chinese characters. It makes the pages \
very urgly. 

The problem is caused by the fact that the chinese font set is huge comparing with \
the western font. So the only possible X font property for those chinese fonts (or \
other dual-byte fonts) is '-c-', and not '-m-' or '-p-'. Otherwise it is very \
ineffcient for X server to load the font. In consequence, all characters in the font \
are treated as constant width, including those western fonts.

I did try to change the font property to '-m-', it solve the problem I described, \
although the X server became very slow.

In the Unicode-Howto, it mentions that unicode-enabled xterm has to treat the fixed \
width chinese unicode fonts as proportional fonts. So it seems the issue has to be \
handled by the applications right now, instead by the X server.

(submitted via bugs.kde.org)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic