Bugzilla – Bug 374066
embedded bitmaps in fonts are ignored by Qt4 applications
Last modified: 2008-08-15 13:40:52 UTC
Embedded bitmaps in fonts are ignored by Qt4 applications.
First reported here by "chen swyear" <swyear@gmail.com>: http://lists.opensuse.org/opensuse-m17n/2008-03/msg00003.html
According to /etc/fonts/suse-bitmaps.font, embedded bitmaps should be enabled by default for all CJK fonts, *except* the Japanese IPA fonts because these have only very few embedded bitmaps. I have just tried this with /usr/bin/qtconfig (from Qt4) and /usr/lib/qt3/bin/qtconfig (from Qt3) using the font FZSongTi and found that embedded bitmaps are ignored in Qt4 even if enabled in the fontconfig setup, just as Chen Swyear reported on the opensuse-m17n mailinglist. But embedded bitmaps are used in Qt3.
Upstream at Trolltech: http://trolltech.com/developer/task-tracker/index_html?method=entry&id=204805
mass reopening of later+remind bugs of 11.0
Still pending upstream
Created attachment 232439 [details] add bold-style to fonts that do not have a real bold-style These patch try to enable embeddedbitmap for qt4 from http://moto.debian.org.tw/viewtopic.php?t=13003 for detail testing, see my blog http://swyear.blogspot.com/2008/08/kde4-and-libqt4-font-patches-english.html
Created attachment 232440 [details] improve hint-style matching
Created attachment 232441 [details] embeddedbitmap support
Created attachment 232442 [details] use freetype to bolder font stroke
Created attachment 232443 [details] Lcd Subpixel Filtering (from David Turner)
Created attachment 232444 [details] ignore-global-advance.diff (from Siyuan.nz)
I found these patches from http://moto.debian.org.tw/viewtopic.php?t=13003 I've used these patches to rebuild libqt4-4.4.1 in my OBS home https://build.opensuse.org/package/show?package=libqt4&project=home%3Aswyear repo: http://download.opensuse.org/repositories/home:/swyear/ Please test and refine these patches if they are OK, help to submit to upstream. Thanks! screenshots before patching: http://picasaweb.google.com/swyear/Qt4/photo#5231413582549457794 http://picasaweb.google.com/swyear/Qt4/photo#5231413582976169586 http://picasaweb.google.com/swyear/Qt4/photo#5231413581736410786 http://picasaweb.google.com/swyear/Qt4/photo#5231413871255976002 ... after patching: http://picasaweb.google.com/swyear/Qt4/photo#5231414270984871922 http://picasaweb.google.com/swyear/Qt4/photo#5231414271912926386 http://picasaweb.google.com/swyear/Qt4/photo#5231414489453499570 http://picasaweb.google.com/swyear/Qt4/photo#5231414488431961202 ... known issue: if use freetype2 from M17N repo, Chinese words will disappear on desktop and systemtoolbar compare following two screenshots: http://picasaweb.google.com/swyear/Qt4/photo#5231966760109518706 http://picasaweb.google.com/swyear/Qt4/photo#5231966764288974626 not sure if caused by libqt4-4.4.1 or not I'll try to re-diff these patches for libqt4-4.4.0 for detail report, see http://swyear.blogspot.com/2008/08/kde4-and-libqt4-font-patches-english.html
Resolve as UPSTREAM.