summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-08-16 04:45:54 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-08-16 04:45:54 +0000
commit292545e94970319545d1a2d8a5ebb700ade67565 (patch)
treeb1460d029548a065efa6d7f42459026ccb40f244 /modules
parentbeeff5982b33f04785886e4f52a25b15f715815d (diff)
downloadpango-292545e94970319545d1a2d8a5ebb700ade67565.tar.gz
Remove redundant positioning block!
2006-08-16 Behdad Esfahbod <behdad@gnome.org> * modules/basic/basic-fc.c (fallback_shape): Remove redundant positioning block!
Diffstat (limited to 'modules')
-rw-r--r--modules/basic/basic-fc.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index dcf93761..3551e282 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -207,23 +207,6 @@ fallback_shape (PangoEngineShape *engine,
p = g_utf8_next_char (p);
}
- /* Apply default positioning */
- for (i = 0; i < glyphs->num_glyphs; i++)
- {
- if (glyphs->glyphs[i].glyph)
- {
- PangoRectangle logical_rect;
-
- pango_font_get_glyph_extents (font, glyphs->glyphs[i].glyph, NULL, &logical_rect);
- glyphs->glyphs[i].geometry.width = logical_rect.width;
- }
- else
- glyphs->glyphs[i].geometry.width = 0;
-
- glyphs->glyphs[i].geometry.x_offset = 0;
- glyphs->glyphs[i].geometry.y_offset = 0;
- }
-
if (analysis->level % 2 != 0)
{
/* Swap all glyphs */