Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 306603

Summary: x11-libs/qt-gui: Bolden text for missing font styles.
Product: Gentoo Linux Reporter: Hongjiu Zhang <voidprayer>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED UPSTREAM    
Severity: minor CC: galtgendo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch 1
Patch 2
Ebuild I am using.

Description Hongjiu Zhang 2010-02-24 07:07:58 UTC
It is an additional feature, which has nothing to do with the existing bugs about QT4. However, for most CJK users, their fonts do not contain bolden and bolden+italic style, which is used in KDE programs and many web pages. In GTK, it is reproduced by freetype, but Qt does not contain this module. Here are the two patches which are already used in most other popular distribution and gentoo-taiwan overlay. If directly applying the patches are not suitable, maybe a USE flag setting can help.

Thank you for your work and response.
Comment 1 Hongjiu Zhang 2010-02-24 07:09:09 UTC
Created attachment 220929 [details, diff]
Patch 1

It works on qt-4.6.2, also.
Comment 2 Hongjiu Zhang 2010-02-24 07:09:44 UTC
Created attachment 220931 [details, diff]
Patch 2

It works on qt-4.6.2 also.
Comment 3 Hongjiu Zhang 2010-02-24 07:11:14 UTC
Created attachment 220933 [details]
Ebuild I am using.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2011-11-18 00:04:11 UTC
You should submit your patches upstream... we aren't familiar with that code, so we are unable to properly review them, I'm sorry.