GNOME Bugzilla – Bug 708778
pango_attr_iterator_get_font(): handle scaling absolute font sizes
Last modified: 2013-09-25 21:29:42 UTC
Here's a patch for a bug that cworth noticed - I haven't even tested for compilation, however.
Created attachment 255714 [details] [review] pango_attr_iterator_get_font(): handle scaling absolute font sizes When handling PANGO_ATTR_SCALE on a font description with an absolute size, properly preserve the absolute flag when setting the scaled size.
Created attachment 255715 [details] Test case showing the original bug This is the test case that inspired Owen's patch. Before his patch, the text within the <small> tag actually ends up larger than the text outside the small tag. Hopefully, this is fixed after the patch is applied, (but I haven't tested that myself yet). -Carl
Pushed - I did test at least for compilation Attachment 255714 [details] pushed as bb5c4c8 - pango_attr_iterator_get_font(): handle scaling absolute font sizes