]> granicus.if.org Git - libass/commitdiff
Allow caching of rotated glyphs.
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 20 Apr 2007 23:23:00 +0000 (23:23 +0000)
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 20 Apr 2007 23:23:00 +0000 (23:23 +0000)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23047 b3059339-0415-0410-9bf9-f77b7e298cf2

libass/ass_render.c

index d139c2e10909101347871bb870e5fc536ff91c4f..418396c3cecc66c08ed3f66ed53e606b6ed7b350 100644 (file)
@@ -407,14 +407,10 @@ static ass_image_t* render_text(text_info_t* text_info, int dst_x, int dst_y)
                                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);
-                       }
 
                }
        }