# HG changeset patch # User eugeni # Date 1177111380 0 # Node ID edb61a7aa38a54e47b3dbd5f669219dcb0b35eea # Parent 57f56d8e182ee1392dfd28f6736ee4c4910ea6f5 Allow caching of rotated glyphs. diff -r 57f56d8e182e -r edb61a7aa38a libass/ass_render.c --- 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); - } } }