font handling bug in qt 4.0.1

LiuCougar liucougar at gmail.com
Mon Sep 26 04:22:31 BST 2005


*Short description: Fake oblique font does not work properly

*What I did:
Open qtconfig, in the font tab, select a font which does not have an
italic style, select style oblique

*What I expected to see:
the "Sample Text" in the lineedit should be shown in style oblique

*What I got instead:
the "Sample Text" in the lineedit did not change style to oblique

Attached is a patch to solve this issue, and also add support for
"fake bold" as well (which is supported by freetype 2.1.10)

Please someone review it?

Regards,
Cougar
--
"People's characters are strengthened through struggle against
difficulties; they are weakened by comfort."
- Old Chinese adage
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oblique_bold.patch
Type: application/octet-stream
Size: 7363 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050926/9fcc114a/attachment.obj>


More information about the kde-core-devel mailing list