summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache.h
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-16 13:08:17 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-16 13:08:17 +0000
commit85933b51d3aec4a524a4e4119318eefb16421fa6 (patch)
tree71c7545d3067f6a0eb87837f698ce338cf94eeec /libass/ass_cache.h
parent158ddc48afdd7104d0d9a944ded9b1d01a208922 (diff)
downloadlibass-85933b51d3aec4a524a4e4119318eefb16421fa6.tar.bz2
libass-85933b51d3aec4a524a4e4119318eefb16421fa6.tar.xz
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). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19852 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_cache.h')
-rw-r--r--libass/ass_cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_cache.h b/libass/ass_cache.h
index 68f5729..f24886e 100644
--- a/libass/ass_cache.h
+++ b/libass/ass_cache.h
@@ -35,8 +35,8 @@ typedef struct glyph_hash_key_s {
} 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;