Bug 374073 - Artificial Italic doesnt’t work in Qt3/Qt4/KDE3/KDE4
Summary: Artificial Italic doesnt’t work in Qt3/Qt4/KDE3/KDE4
Status: RESOLVED UPSTREAM
: 391891 (view as bug list)
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: KDE4 Workspace (show other bugs)
Version: Alpha 0
Hardware: All Linux
: P3 - Medium : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: Dirk Mueller
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 17:31 UTC by Mike Fabian
Modified: 2010-04-26 08:59 UTC (History)
3 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
add fake-bold-face for CJK fonts (9.15 KB, text/x-patch)
2008-04-02 05:54 UTC, Ray chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Fabian 2008-03-26 17:31:25 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
Comment 1 Mike Fabian 2008-03-26 17:34:04 UTC
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.

Comment 2 Ray chen 2008-04-02 05:54:47 UTC
Created attachment 205565 [details]
add fake-bold-face for CJK fonts
Comment 3 Ray chen 2008-04-02 05:59:50 UTC
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.
Comment 5 Dirk Mueller 2008-04-02 09:48:36 UTC
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 :)
Comment 6 Dirk Mueller 2008-04-02 13:49:59 UTC
submitted for factory
Comment 7 Mike Fabian 2008-04-03 15:31:36 UTC
I’ve verified that it works in Factory now. Thank you very much!
Comment 8 Dirk Mueller 2008-04-10 13:26:18 UTC
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. 
Comment 9 Dirk Mueller 2008-04-21 12:45:55 UTC
pinged trolltech about it. 
Comment 10 Dirk Mueller 2008-05-19 08:34:11 UTC
reopen for 11.1
Comment 11 Dirk Mueller 2008-05-19 08:35:55 UTC
*** Bug 391891 has been marked as a duplicate of this bug. ***
Comment 12 Forgotten User bSWU20Bh6O 2009-05-01 18:51:31 UTC
Any status on this it's been almost a year since the last comment?
Comment 13 Dirk Mueller 2010-04-26 08:59:23 UTC
no time to work on this anymore, please file a bugreport upstream (now that there is a public issue tracker). Thanks!