diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-19 16:25:58 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-27 01:24:26 +0200 |
commit | 512444c15e69a78ae82a8e9ff0e7bdef9f93bbcf (patch) | |
tree | 39950ed1dbc6fbf50edbdb1ce912f9debf4e659d /libass/ass_render.h | |
parent | 7440eb75f12104b1cdd36638ccb16934db067b0c (diff) | |
download | libass-512444c15e69a78ae82a8e9ff0e7bdef9f93bbcf.tar.bz2 libass-512444c15e69a78ae82a8e9ff0e7bdef9f93bbcf.tar.xz |
Improve \kf position rounding
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |