changeset 23029:edb61a7aa38a

Allow caching of rotated glyphs.
author eugeni
date Fri, 20 Apr 2007 23:23:00 +0000
parents 57f56d8e182e
children 8cf909e9f551
files libass/ass_render.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Fri Apr 20 23:19:23 2007 +0000
+++ b/libass/ass_render.c	Fri Apr 20 23:23:00 2007 +0000
@@ -407,14 +407,10 @@
 				FT_Done_Glyph(text_info->glyphs[i].outline_glyph);
 
 			// cache
-			if (text_info->glyphs[i].hash_key.frx == 0 &&
-			    text_info->glyphs[i].hash_key.fry == 0 &&
-			    text_info->glyphs[i].hash_key.frz == 0) {
 				hash_val.bm_o = text_info->glyphs[i].bm_o;
 				hash_val.bm = text_info->glyphs[i].bm;
 				hash_val.bm_s = text_info->glyphs[i].bm_s;
 				cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val);
-			}
 
 		}
 	}