[cairo-bugs] [Bug 18897] New: In Chinese interface, the input area in firefox and blank area in gnome-menu are terriably stretched .

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 5 04:49:07 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18897

           Summary: In Chinese interface, the input area in firefox and
                    blank area in gnome-menu are terriably stretched.
           Product: cairo
           Version: 1.8.4
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: highest
         Component: freetype font backend
        AssignedTo: david at freetype.org
        ReportedBy: acevery at gmail.com
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=20830)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=20830)
google in firefox under en_US.UTF-8 locale

Since upgraded to cairo-1.8.0 a few months ago, the input area in firefox
become very wide. Thinking this is very obvious and will be fix in a short
time, I did not file a bug. However, after upgrading to cairo-1.8.4 today, I
found that this bug is still there :(

In order to make a comparation, I got two screen shot of the firefox on the
same www.g.cn, the normal one is under en_US.UTF-8 locale; the stretched one is
under zh_CN.UTF-8. the locale is shift via gdm.

The gnome-menu also have wide blank after characters, but I fail to take a
screenshot when I activate gnome-menu, but the width of blank area after text
in gnome-menu is nearly the same length of the longest text in the same menu.

I guess that, may be the text width calculation encounter a error when shift
from single-byte width character to multi-bytes width character in cairo, which
causes this bug.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list