diff libass/ass_cache.h @ 21348:d7920b488fa2

Use (ass_font_t, char code) instead of (FT_Face, glyph index) to identify glyphs in cache.
author eugeni
date Tue, 28 Nov 2006 22:17:33 +0000
parents 578fc5ca6a4f
children 218f486c544d
line wrap: on
line diff
--- a/libass/ass_cache.h	Tue Nov 28 19:01:04 2006 +0000
+++ b/libass/ass_cache.h	Tue Nov 28 22:17:33 2006 +0000
@@ -30,9 +30,9 @@
 // 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