GNOME Bugzilla – Bug 625807
approximate character width is 0 on pangoft2
Last modified: 2010-08-09 11:23:47 UTC
Created attachment 166950 [details] test code After updating Pango to 1.28.0, the approximate character with could be got with pango_font_metrics_get_approximate_char_width() and pango_font_metrics_get_approximate_digit_width() is 0 with pangoft2 backend. looking at the changelog, it looks like the code has been wrongly refactored at 34e05035af0ce854df1cc2f77c0b11dbc1a3cb36.
erm, from 1.28.0 to 1.28.1 I meant. doh.
Ouch. Fixed in master. Please test.
works fine. thanks!