Bug#578604: libqtgui4: Qt displays half width character (e.g. alphabet) as full width in some Japanese fonts(QTBUG-1726)
Package: libqtgui4
Version: 4:4.6.2-4
Severity: normal
Tags: patch
There is the problem that Qt displays half width character
(e.g. alphabet) as full width in some Japanese fonts.
This problem was reported in #QTBUG-1726
<http://bugreports.qt.nokia.com/browse/QTBUG-1726>.
This occurs in the following fonts.
- Monospace font
- Selif font
- IPA font (Ver.0301)
- NSimSun
In Cario and fontconfig etc., the FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH
is specified as flag of FT_Load_Glyph function to solve this problem.
According to the document of freetype,
this flag exists to support buggy CJK fonts.
http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_LOAD_XXX
The patch is available <http://qt.gitorious.org/qt/qt/merge_requests/2319>.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libqtgui4 depends on:
ii fontconfig 2.8.0-2 generic font configuration library
ii libaudio2 1.9.2-3 Network Audio System - shared libr
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libfontconfig1 2.8.0-2 generic font configuration library
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.3-9 GCC support library
ii libglib2.0-0 2.24.0-1 The GLib library of C routines
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libjpeg62 6b-16.1 The Independent JPEG Group's JPEG
ii libmng1 1.0.9-1 Multiple-image Network Graphics li
ii libpng12-0 1.2.43-1 PNG library - runtime
ii libqtcore4 4:4.6.2-4 Qt 4 core module
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libstdc++6 4.4.3-9 The GNU Standard C++ Library v3
ii libtiff4 3.9.2-3+b1 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxext6 2:1.1.1-3 X11 miscellaneous extension librar
ii libxrender1 1:0.9.5-2 X Rendering Extension client libra
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages libqtgui4 recommends:
ii qt4-qtconfig 4:4.6.2-4 Qt 4 configuration tool
libqtgui4 suggests no packages.
-- no debconf information
Reply to: