summaryrefslogtreecommitdiff
path: root/pango/modules.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-09-13 18:51:02 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-09-13 18:51:02 +0000
commit8c633b224b3d2bb5e5ddd57a84ce492bf9505781 (patch)
tree3522bea15c01a090814e14c22e5971802302f158 /pango/modules.c
parent60b4b295d136f0dd9102100940d6bb396494bbef (diff)
downloadpango-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/modules.c')
-rw-r--r--pango/modules.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/modules.c b/pango/modules.c
index 57b13443..3ec762cd 100644
--- a/pango/modules.c
+++ b/pango/modules.c
@@ -260,6 +260,7 @@ pango_engine_pair_get_engine (PangoEnginePair *pair)
g_type_module_unuse (G_TYPE_MODULE (pair->module));
}
+ /* TODO: warn once (per id or something) */
if (!pair->engine)
g_printerr ("Failed to load Pango module for id: '%s'", pair->info.id);
}