diff options
author | Grigori Goronzy <greg@blackbox> | 2011-07-22 01:55:09 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2011-07-22 01:55:09 +0200 |
commit | 3191ba8c9e455bda7e868540baa21e0afde2b72b (patch) | |
tree | 24a9aea7501a79bb079110d7851b621ac1371968 /libass/ass_shaper.c | |
parent | 4bb1e2df3689f4f404f7ef1640b9fac7b58f2e94 (diff) | |
download | libass-3191ba8c9e455bda7e868540baa21e0afde2b72b.tar.bz2 libass-3191ba8c9e455bda7e868540baa21e0afde2b72b.tar.xz |
Don't extend face runs as much as possible
This leads to fewer shaping runs, but has many unwanted side effects.
Diffstat (limited to 'libass/ass_shaper.c')
-rw-r--r-- | libass/ass_shaper.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c index 5f2ec507..9ef5fd5e 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); |