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
commit3e13c098887cef24308a86150221428ce33a5c61 (patch)
tree665e320a46df4c71108e905062e15f8986aa6364 /libass/ass_cache.h
parentce96451ea68581afc68e5d8c54a0fb3936b8a745 (diff)
downloadlibass-3e13c098887cef24308a86150221428ce33a5c61.tar.bz2
libass-3e13c098887cef24308a86150221428ce33a5c61.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 621ab16..bfc3557 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