]> granicus.if.org Git - libass/commitdiff
Fix \fsp: use orig_scale_x, not post-fix_glyph_scaling scale_x
authorOleg Oshmyan <chortos@inbox.lv>
Tue, 7 Jan 2014 21:49:53 +0000 (23:49 +0200)
committerOleg Oshmyan <chortos@inbox.lv>
Wed, 8 Jan 2014 01:18:55 +0000 (03:18 +0200)
libass/ass_render.c

index 6ecfc99131f7a1b14d32a4bf28530fc4184de796..5d916355551c277eb56f68af139265940474a3df 100644 (file)
@@ -1893,7 +1893,7 @@ ass_render_event(ASS_Renderer *render_priv, ASS_Event *event,
 
         // add horizontal letter spacing
         info->cluster_advance.x += double_to_d6(info->hspacing *
-                render_priv->font_scale * info->scale_x);
+                render_priv->font_scale * info->orig_scale_x);
 
         // add displacement for vertical shearing
         info->cluster_advance.y += (info->fay / info->scale_x * info->scale_y) * info->cluster_advance.x;