diff options
author | Grigori Goronzy <greg@blackbox> | 2011-06-20 22:50:34 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2011-06-20 22:50:34 +0200 |
commit | e5704aa76a2712782442156986f74b8766077ee1 (patch) | |
tree | 755509f7c315f4b542b6bd8b2c5e190206cdf355 /libass/ass_render.h | |
parent | 3a0055a7bd1d6378aece89db0d17cc0ac804a89b (diff) | |
download | libass-e5704aa76a2712782442156986f74b8766077ee1.tar.bz2 libass-e5704aa76a2712782442156986f74b8766077ee1.tar.xz |
Convert outline processing and caching from glyphs to bare outlines
This introduces functions to use and copy pointered outline objects
easily and uses these instead of glyphs everywhere.
Previously the glyph cache was abused for caching vector clipping masks,
but this isn't possible anymore (nor desirable), thus vector clipping
cache has been disabled for the moment.
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 e19bd07..0876589 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -99,8 +99,8 @@ typedef enum { typedef struct { unsigned symbol; unsigned skip; // skip glyph when layouting text - FT_Glyph glyph; - FT_Glyph outline_glyph; + FT_Outline *outline; + FT_Outline *border; Bitmap *bm; // glyph bitmap Bitmap *bm_o; // outline bitmap Bitmap *bm_s; // shadow bitmap |