summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache.h
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-28 22:17:33 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-28 22:17:33 +0000
commit27ebb0151484c5cd8d6b31f10445ee448ed63382 (patch)
tree90e6184bbc4682057ccf965425ebbefb5296b329 /libass/ass_cache.h
parent3adbef1c80dec4ac1b01d1db896b89e192f5601e (diff)
downloadmpv-27ebb0151484c5cd8d6b31f10445ee448ed63382.tar.bz2
mpv-27ebb0151484c5cd8d6b31f10445ee448ed63382.tar.xz
Use (ass_font_t, char code) instead of (FT_Face, glyph index) to identify
glyphs in cache. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21364 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 621ab162f3..bfc3557142 100644
--- a/libass/ass_cache.h
+++ b/libass/ass_cache.h
@@ -30,9 +30,9 @@ void ass_font_cache_done(void);
// describes a glyph; glyphs with equivalents structs are considered identical
typedef struct glyph_hash_key_s {
char bitmap; // bool : true = bitmap, false = outline
- FT_Face face;
+ ass_font_t* font;
int size; // font size
- int index; // glyph index in the face
+ uint32_t ch; // character code
unsigned outline; // border width, 16.16 fixed point value
int bold, italic;
char be; // blur edges