pango r2158 - in trunk: . pango



Author: behdad
Date: 2007-01-16 13:16:32 +0000 (Tue, 16 Jan 2007)
New Revision: 2158
ViewCVS link: http://svn.gnome.org/viewcvs/pango?rev=2158&view=rev

Modified:
   trunk/ChangeLog
   trunk/pango/ellipsize.c
   trunk/pango/pango-glyph-item.c
Log:
2007-01-16  Behdad Esfahbod  <behdad gnome org>

        * pango/ellipsize.c (get_cluster_width): Fix width calculation.
        Was causing ellipsization to stop at a zero-width glyph that was
        part of a bigger cluster.

        * pango/ellipsize.c (remove_one_span): Skip over zero-width clusters,
        otherwise ellipsization will stop at a zero-width cluster.

        * pango/pango-glyph-item.c (_pango_glyph_item_iter_next_cluster),
        (_pango_glyph_item_iter_prev_cluster): Fix yet another bug with
        in prev_cluster that was making it not work for any interesting
        cluster.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]