]> granicus.if.org Git - libass/commit
Reflect border_scale in outline cache keys
authorOleg Oshmyan <chortos@inbox.lv>
Mon, 30 Jan 2017 21:45:43 +0000 (23:45 +0200)
committerOleg Oshmyan <chortos@inbox.lv>
Tue, 31 Jan 2017 00:13:30 +0000 (02:13 +0200)
commitd4bd51a0b1e7192773af328213b51b19931602db
treeb6e005fb5ee38e32b46ea9b7725212dedb9c5f7c
parentc7fbe80b29d0e64c36ca0872b8ddc1f766f89f5a
Reflect border_scale in outline cache keys

border_scale can change, e. g. when ass_render_frame is called twice with
the same renderer but different tracks. Glyphs with equal \bord tag values
but different border_scale values produce different border outlines and
hence should be distinguished in outline cache keys. To this end, store
scaled border widths (which are really used when generating the outlines)
in cache keys instead of \bord tag values.
libass/ass_render.c