application font hinting is different in thunderbird than in other applications; this text that is too bold

NEW
Unassigned

Status

()

Core
Graphics
8 years ago
2 years ago

People

(Reporter: mozillabugs, Unassigned, NeedInfo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.0 Safari/532.5
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 Shredder/3.0

I used gnome to specify font rendering settings: subpixel smoothing, slight hinting, 96 dpi (xdpyinfo also reports I'm using 96dpi).  I compiled thunderbird with these options:

ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-system-cairo
ac_add_options --enable-freetype2

Thunderbird's application fonts don't seem to use my system font hinting settings.  They're over-bold, which seems to be caused by using "full" hinting or the like.  Have I failed to compile in proper support for font rendering, or otherwise missed something?

Reproducible: Always
Do you have the same issue if you use Firefox 3.5 ?
(Reporter)

Comment 2

8 years ago
Yes, I just compiled Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091201 Shiretoko/3.5.5 with the same font and toolkit options and with system cairo and has the same issue.
Component: General → General
Product: Thunderbird → Core
QA Contact: general → general

Comment 3

8 years ago
Reproduced with Firefox 3.5.5, Firefox 3.6 beta 5, Firefox 3.7a1pre.

No matter uses system cairo or mozilla tree cairo.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 4

8 years ago
gnome-font-appearance sets Xrm settings, XSETTINGS, gtk-xft settings, and gconf.

cario-xlib-screen.c uses XGetDefault(), which can get the setting of gnome-font-appearance.
Surface font options were set on the pattern in cairo_ft_font_options_substitute.

gfxPangoFonts.cpp gets options by FcPatternGetInteger() FC_HINT_STYLE, FC_RGBA, etc.
Then it does cairo_font_options_set_hint_style(), cairo_font_options_set_subpixel_order(), etc.

I think the expected result should be cairo font options for screen should have the priority.
It seems it doesn't work as expected.
Component: General → Graphics
QA Contact: general → thebes

Comment 5

2 years ago
Chris is this at all familiar to you?
Flags: needinfo?(chris.ramsden)
You need to log in before you can comment on or make changes to this bug.