GNOME Bugzilla – Bug 121543
Scale attribute semantics
Last modified: 2004-12-22 21:47:04 UTC
It seems to me that something is weird and wrong with scale attributes. Have a look at pango_attr_iterator_get_font and assume we have two attributes, size=12 and scale=10. If the order is size+scale, then the result size is 120. If the order is scale+size, then the result size is 12. In other words, scale is _ignored_ in the second version! When a layout has a font description, that description is put only the attribute list with pango_attr_list_insert_before which means that the order is not specified! jody: put the font description into the attribute list before the scale and you should be fine.
Created attachment 19964 [details] [review] Possible fix
Could you test the attached?
Patch appears to work (and breaks gnumeric as a consequence). Patch for that exists.
How does it break gnumeric? I'd expect that any code that is doing something reasonable should still work.
Gnumeric 1.2 is scaling by hand to work around this issue. Don't let it bother you too much -- by the time people will be using the updated pango they will also be using a new gnumeric.
Fine to commit to pango-1-2 and HEAD
fixed in cvs.