summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2011-07-12 15:19:17 +0200
committerGrigori Goronzy <greg@blackbox>2011-07-12 15:32:02 +0200
commit84fff91fc561efee329a16705e97ca9505ea93ba (patch)
treef4b92381eac1d499cb1e2d7b3d5741c043a03e08 /libass/ass_render.h
parent8e87db144289d8f7418f4b0dcd2a02d2f7b1d7eb (diff)
downloadlibass-84fff91fc561efee329a16705e97ca9505ea93ba.tar.bz2
libass-84fff91fc561efee329a16705e97ca9505ea93ba.tar.xz
Various small fixes to HarfBuzz rendering
Handle advance of clusters correctly, fix drawings, calculate run direction correctly, fix y offset sign.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r--libass/ass_render.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h
index 33e046f..87eb3d1 100644
--- a/libass/ass_render.h
+++ b/libass/ass_render.h
@@ -115,6 +115,7 @@ typedef struct glyph_info {
char linebreak; // the first (leading) glyph of some line ?
uint32_t c[4]; // colors
FT_Vector advance; // 26.6
+ FT_Vector cluster_advance;
Effect effect_type;
int effect_timing; // time duration of current karaoke word
// after process_karaoke_effects: distance in pixels from the glyph origin.