Bug 72703 - No Xft2 slighthinting
No Xft2 slighthinting
Product: Red Hat Raw Hide
Classification: Retired
Component: Xft (Show other bugs)
athlon Linux
medium Severity medium
: ---
: ---
Assigned To: Owen Taylor
Depends On:
  Show dependency treegraph
Reported: 2002-08-26 15:05 EDT by Need Real Name
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-08-26 15:05:58 EDT
Type: ---
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 Need Real Name 2002-08-26 15:05:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020819

Description of problem:
I noticed that you have applied a patch from
http://www.cs.mcgill.ca/~dchest/xfthack/ to Xft2 and fontconfig. The problem is
that your version of Xft2 doesn't seem to honor my settings in
gnome-font-properties so I don't get any slight hinting (and I sure remember how
it looked like). Even more, the grayscale/none/subpixel setting in
gnome-font-properties works, but the slight/full/medium/none look equal (seen
through xmag). (btw, is there any other way to set this hinting setting, I don't
want to launch some gnome app every time to apply the settings). Also, I have my
monitor resolution set to 75dpi (-dpi 75 option to X), but when I choose 75dpi
in that gnome applet, I get bigger fonts. My fonts seem to display at 72-74 dpi
or so.
And of course, I do have the USE_GDK_XFT=1 in my env.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. open  gnome-font-properties
2. choose details
3. try some different settings for hinting and compare with xmag

Actual Results:  no difference between none/slight/medium/full hinting

Expected Results:  should look like in Xft1 patch from

Additional info:

I'm using arial font from ms (actually, all fonts produce the same result).
fontconfig-, Xft-, freetype-2.1.2-5,
XFree86-4.2.0-52, pango-1.1.1-1, glib2-2.0.6-1, gtk2-2.0.6-5, qt-3.0.5-13,
glibc-2.2.90-21, gcc-3.2-1
Comment 1 Owen Taylor 2002-08-26 16:06:24 EDT
The slight-hinting stuff in Milan is completely unrelated to
the 'xfthack' patch, other than I was inspired by it
to try some stuff in that area.

The font properties dialog only affects GTK+ apps when
logged into GNOME 2. (The gnome-settings-daemon program
must be running.)

For other circumstances, look at /etc/X11/Xresources.

The resolution is intentionally separate from the X server
DPI. THe X server DPI is supposed to the phyical DPI of
a monitor, while the "logical DPI" for fonts also depends
on, e.g., viewing distance.

A fixed DPI gives the most predictable results, it is least
likely to go wrong in extreme circumstances. 

Comment 2 Owen Taylor 2002-08-26 16:07:13 EDT
Oh, also, slight hinting in (null) is a post-script font only thing,
so try Luxi or Nimbus Sans; won't do anything for Arial.

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