From bc0cfcca482fd4eca3c4273b4e30b2d11b63cbba Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 25 Sep 2013 23:28:38 +0200 Subject: [PATCH] ass_shaper: changing scale_x/y starts a new glyph run Since font_size is usually normalized to 256, scale_x/y has to be used for this purpose. --- libass/ass_shaper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c index 46e6edc..7e0d7d1 100644 --- a/libass/ass_shaper.c +++ b/libass/ass_shaper.c @@ -712,6 +712,8 @@ void ass_shaper_find_runs(ASS_Shaper *shaper, ASS_Renderer *render_priv, // shape runs share the same font face and size if (i > 0 && (last->font != info->font || last->font_size != info->font_size || + last->scale_x != info->scale_x || + last->scale_y != info->scale_y || last->face_index != info->face_index || last->script != info->script)) shape_run++; -- 2.40.0