From 3191ba8c9e455bda7e868540baa21e0afde2b72b Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Fri, 22 Jul 2011 01:55:09 +0200 Subject: Don't extend face runs as much as possible This leads to fewer shaping runs, but has many unwanted side effects. --- libass/ass_shaper.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c index 5f2ec50..9ef5fd5 100644 --- a/libass/ass_shaper.c +++ b/libass/ass_shaper.c @@ -317,11 +317,6 @@ void ass_shaper_find_runs(ASS_Shaper *shaper, ASS_Renderer *render_priv, // skip drawings if (info->symbol == 0xfffc) continue; - // initialize face_index to continue with the same face, if possible - // XXX: can be problematic in some cases, for example if a font misses - // a single glyph, like space (U+0020) - if (i > 0) - info->face_index = last->face_index; // set size and get glyph index ass_font_get_index(render_priv->fontconfig_priv, info->font, info->symbol, &info->face_index, &info->glyph_index); -- cgit v1.2.3