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 625807 - approximate character width is 0 on pangoft2
approximate character width is 0 on pangoft2
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.28.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-02 08:32 UTC by Akira TAGOH
Modified: 2010-08-09 11:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test code (868 bytes, text/x-csrc)
2010-08-02 08:32 UTC, Akira TAGOH
Details

Description Akira TAGOH 2010-08-02 08:32:17 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.
Comment 1 Akira TAGOH 2010-08-02 08:33:43 UTC
erm, from 1.28.0 to 1.28.1 I meant. doh.
Comment 2 Behdad Esfahbod 2010-08-06 16:48:37 UTC
Ouch.  Fixed in master.  Please test.
Comment 3 Akira TAGOH 2010-08-09 11:23:47 UTC
works fine. thanks!