Bugzilla – Bug 374073
Artificial Italic doesnt’t work in Qt3/Qt4/KDE3/KDE4
Last modified: 2010-04-26 08:59:23 UTC
Artificial Italic doesnt’t work in Qt3/Qt4/KDE3/KDE4. Reported on the opensuse-m17n mailing list by "chen swyear" <swyear@gmail.com>: http://lists.opensuse.org/opensuse-m17n/2008-03/msg00003.html
Artificial bold doesn’t work in qtconfig, neither of Qt4 nor of Qt3 and it doesn’t work either in the KDE3 control centre (kcontrol). Only regular and italic are selectable. Of course CJK fonts like FZSongTi usually have only regular, but italic and bold can be “faked” by freetype2 as one can easily verify by using: xfd -fa "FzSongTi:size=12:weight=200" And bold-italic: xfd -fa "FzSongTi:size=12:weight=200:slant=100" Therefore I don’t understand either why Qt doesn’t allow bold here. In GTK2 applications, for example gedit, this works.
Created attachment 205565 [details] add fake-bold-face for CJK fonts
I found this patch from http://www.kde-apps.org/content/show.php/FakeBold+Font+patches+for+QT+4.3.x?content=64029 I've modified it for qt4.4, and build it in Build Service https://build.opensuse.org/package/show?package=libqt4&project=home%3Aswyear I've test for days, seem works fine.
http://trolltech.com/developer/task-tracker/index_html?method=entry&id=175023
I'll add the patches to the next qt4 update round. qt3 part is wontfix for now, unless somebody adapts the patch. Thanks for finding them on the net :)
submitted for factory
I’ve verified that it works in Factory now. Thank you very much!
causes rendering regressions, as those fake-embolded glyphs are wider, but qt doesn't know about it, so glyphs are cut off visible quite clearly in konsole, it became completely unusable with the patch. I Have to back it out for now, sorry.
pinged trolltech about it.
reopen for 11.1
*** Bug 391891 has been marked as a duplicate of this bug. ***
Any status on this it's been almost a year since the last comment?
no time to work on this anymore, please file a bugreport upstream (now that there is a public issue tracker). Thanks!