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 650208 - make PangoLayout.n_chars available
make PangoLayout.n_chars available
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2011-05-15 02:56 UTC by Matthias Clasen
Modified: 2011-05-16 13:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2011-05-15 02:56:11 UTC
Not a huge deal, but it would be nice to avoid calling g_utf8_strlen in some places, when the layout has this data internally anyway.
Comment 1 Behdad Esfahbod 2011-05-15 20:05:42 UTC
Agreed.  pango_layout_get_character_count() or something.  Feel free to push.
Comment 2 Matthias Clasen 2011-05-16 13:36:46 UTC
Thanks, pushed