diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-09-13 18:51:02 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-09-13 18:51:02 +0000 |
commit | 8c633b224b3d2bb5e5ddd57a84ce492bf9505781 (patch) | |
tree | 3522bea15c01a090814e14c22e5971802302f158 /pango/pango-renderer.c | |
parent | 60b4b295d136f0dd9102100940d6bb396494bbef (diff) | |
download | pango-8c633b224b3d2bb5e5ddd57a84ce492bf9505781.tar.gz |
Part of Bug 355782 – Misaligned extents in pango
2006-09-13 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 355782 – Misaligned extents in pango
* pango/pango-layout.c (cluster_width): Rewrite based on
is_cluster_start instead of accessing log_clusters directly. This is
more robust as next_cluster uses that, so the two match now.
* pango/pango-layout.c (update_cluster): Remove the
cluster_start_index parameter and use iter->cluster_start instead.
* pango/pango-layout.c (pango_layout_iter_copy): Fix typo in copying
iter->cluster_width.
* pango/pango-layout.c (pango_layout_iter_get_cluster_extents): Add
an assert to make sure iter->cluster_width is correctly set.
* pango/pango-layout.c (pango_layout_iter_get_char_extents): Remove
assert that was readded above to check more cases.
Diffstat (limited to 'pango/pango-renderer.c')
0 files changed, 0 insertions, 0 deletions