Bug 1249176 - qt4 ignores fontconfig hintstyle
qt4 ignores fontconfig hintstyle
Status: NEW
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qt (Show other bugs)
x86_64 Unspecified
unspecified Severity medium
: rc
: ---
Assigned To: Jan Grulich
Desktop QE
Depends On:
  Show dependency treegraph
Reported: 2015-07-31 13:50 EDT by rudolf
Modified: 2017-09-14 07:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description rudolf 2015-07-31 13:50:30 EDT
Description of problem:

Qt4 apps running under gnome ignore font hinting style set by fontconfig.

Fontconfig in clean Desktop installation has default value set for hintstyle:

[user@localhost ~]$ fc-match "" hintstyle

however Qt4 apps ignore this and not use hinting at all. Result is fuzzy and different looking fonts than gtk apps.

If i create /etc/fonts/local.conf with:

<match target="pattern">
  <edit name="hintstyle" mode="assign">

it sets hintstyle to :hintstyle=3 "again" and Qt4 picks this setup and starts using hinting.

Note You need to log in before you can comment on or make changes to this bug.