diff options
author | Dr.Smile <vabnick@gmail.com> | 2019-05-20 01:01:34 +0300 |
---|---|---|
committer | Dr.Smile <vabnick@gmail.com> | 2019-05-20 01:01:34 +0300 |
commit | d3286d8a5e3a0186457b8596c2809866fa59d052 (patch) | |
tree | 1f537f33a9d6c9bd1ebe064d8b9b874ad7987749 /libass/ass_render.h | |
parent | 0f0068b0ae5b0bad8472d4a2af6d10e97f982bfc (diff) | |
download | libass-d3286d8a5e3a0186457b8596c2809866fa59d052.tar.bz2 libass-d3286d8a5e3a0186457b8596c2809866fa59d052.tar.xz |
renderer: improve handling of subpixel shift
Integral pixel shift is extracted in quantization function now,
taking account of full glyph transformation and not only translation
part of it. It makes program logic more straight and ensures that
subpixel shift from cache key never exceed full pixel.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index 5779017..af06e99 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -171,7 +171,6 @@ typedef struct glyph_info { int shape_run_id; ASS_Vector shift; - ASS_Vector bitmap_advance; BitmapHashValue *image, *image_o; // next glyph in this cluster |