From 292545e94970319545d1a2d8a5ebb700ade67565 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 16 Aug 2006 04:45:54 +0000 Subject: Remove redundant positioning block! 2006-08-16 Behdad Esfahbod * modules/basic/basic-fc.c (fallback_shape): Remove redundant positioning block! --- modules/basic/basic-fc.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'modules') 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 */ -- cgit v1.2.1