diff options
author | Grigori Goronzy <greg@blackbox> | 2011-10-03 00:41:53 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2011-10-03 00:41:53 +0200 |
commit | 94b4c0d87182cd0bc84cf49cb793a0ab184df502 (patch) | |
tree | 6d4deee2b144397594b9c9188f7fc5c44bd7d086 /libass/ass_render.h | |
parent | 8d7a663a81be35cb1eaf89264a24394786e0a264 (diff) | |
download | libass-94b4c0d87182cd0bc84cf49cb793a0ab184df502.tar.bz2 libass-94b4c0d87182cd0bc84cf49cb793a0ab184df502.tar.xz |
Letter spacing is a per-cluster property
Layout refactoring broke letter spacing and always used the last valid
spacing specified for the whole line, which is of course wrong.
Letter-spacing is an inline property and can be different for each glyph
cluster. Add that property to GlyphInfo and use it to fix this
regression.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index d3c1bbb..c290c4d 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -134,6 +134,7 @@ typedef struct glyph_info { double fax, fay; // text shearing double scale_x, scale_y; double border_x, border_y; + double hspacing; unsigned italic; unsigned bold; int flags; |