pango r2157 - in branches/pango-1-14: . pango



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

Modified:
   branches/pango-1-14/ChangeLog
   branches/pango-1-14/pango/ellipsize.c
   branches/pango-1-14/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]