Mercurial > mplayer.hg
diff libass/ass_cache.h @ 19846:bcc792bfa431
Store bitmap glyphs in a separate struct, instead of FreeType's internal buffer.
This is required for various bitmap modifications (like blur, outline and shadow).
| author | eugeni |
|---|---|
| date | Sat, 16 Sep 2006 13:08:17 +0000 |
| parents | 64009ae411fb |
| children | 07be98a5dd5f |
line wrap: on
line diff
--- a/libass/ass_cache.h Sat Sep 16 10:15:42 2006 +0000 +++ b/libass/ass_cache.h Sat Sep 16 13:08:17 2006 +0000 @@ -35,8 +35,8 @@ } glyph_hash_key_t; typedef struct glyph_hash_val_s { - FT_Glyph glyph; // the actual glyphs - FT_Glyph outline_glyph; + bitmap_t* bm; // the actual glyph bitmaps + bitmap_t* bm_o; FT_BBox bbox_scaled; // bbox after scaling, but before rotation FT_Vector advance; // 26.6, advance distance to the next glyph in line } glyph_hash_val_t;
