From 512444c15e69a78ae82a8e9ff0e7bdef9f93bbcf Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Mon, 19 Oct 2020 16:25:58 +0300 Subject: Improve \kf position rounding --- libass/ass_render.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libass/ass_render.h') diff --git a/libass/ass_render.h b/libass/ass_render.h index 9796841..803b577 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -100,7 +100,7 @@ typedef struct { uint32_t c[4]; // colors Effect effect_type; - // during render_and_combine_glyphs: distance in pixels from the karaoke origin. + // during render_and_combine_glyphs: distance in subpixels from the karaoke origin. // after render_and_combine_glyphs: screen coordinate in pixels. // part of the glyph to the left of it is displayed in a different color. int effect_timing; @@ -147,7 +147,7 @@ typedef struct glyph_info { ASS_Vector cluster_advance; Effect effect_type; int effect_timing; // time duration of current karaoke word - // after process_karaoke_effects: distance in pixels from the karaoke origin. + // after process_karaoke_effects: distance in subpixels from the karaoke origin. // part of the glyph to the left of it is displayed in a different color. int effect_skip_timing; // delay after the end of last karaoke word int asc, desc; // font max ascender and descender -- cgit v1.2.3