After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163105 - GTKHTML fonts smaller with Pango 1.8
GTKHTML fonts smaller with Pango 1.8
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.8.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2005-01-06 10:48 UTC by Ross Burton
Modified: 2005-01-07 17:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Ross Burton 2005-01-06 10:48:56 UTC
I've just upgraded my GTK+ stack from 2.4 to 2.6, and suddenly gtkhtml is
rendering fonts smaller in Evolution.  A plain text mail in the viewer is the
correct size, but in the composer (when GTKHTML is used in "HTML mode", the font
size is drastically reduced.  Also, all HTML mail is rendered smaller.

I'm pretty sure this is a bug cause by bad code in GTKHTML making assumptions
about Pango, but I'm not sure...
Comment 1 Owen Taylor 2005-01-06 16:38:26 UTC
This one has actually been annoying me for the last week... and I keep
on thinking "I should track that down". I'll see what I can figure out.
Comment 2 Owen Taylor 2005-01-06 17:41:03 UTC
I was dreading this as some sort of complex deep-in-GtkHTML font measurement
problem, but turned out to be really trivial Pango bug:

Thu Jan  6 12:29:31 2005  Owen Taylor  <otaylor@redhat.com>

        * pango/pango-attributes.c (pango_attr_iterator_get_font):
        Fix reversed test on attr->absolute that was causing
        pixels sizes to be used inappropriately. (#163105,
        Ross Burton)
Comment 3 Ross Burton 2005-01-07 15:56:16 UTC
With this patch the problem is vastly improved, but for me HTML mail is still
slightly smaller than it was with 1.6 and text in the composer is slightly
smaller than it is in the mail view pane.
Comment 4 Owen Taylor 2005-01-07 17:03:21 UTC
that's different, see bug 163154