summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2020-10-19 02:44:31 +0300
committerOleg Oshmyan <chortos@inbox.lv>2020-10-27 01:24:26 +0200
commit7440eb75f12104b1cdd36638ccb16934db067b0c (patch)
treefc8665cca5058d6be44a097e9bb3eeb294cc3f76 /libass
parent52cc7a0b34b6b4d63e43e68aafb2ec30463d2604 (diff)
downloadlibass-7440eb75f12104b1cdd36638ccb16934db067b0c.tar.bz2
libass-7440eb75f12104b1cdd36638ccb16934db067b0c.tar.xz
Fix shifted \kf position with rectangular \iclip
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 48e3ead..e8254f2 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -280,6 +280,7 @@ static ASS_Image **render_glyph_i(ASS_Renderer *render_priv,
dst_x += bm->left;
dst_y += bm->top;
+ brk -= dst_x;
// we still need to clip against screen boundaries
zx = x2scr_pos_scaled(render_priv, 0);