GNOME Bugzilla – Bug 163105
GTKHTML fonts smaller with Pango 1.8
Last modified: 2005-01-07 17:03:21 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...
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.
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)
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.
that's different, see bug 163154