# HG changeset patch # User eugeni # Date 1178032462 0 # Node ID 29b5596adecd3f4fdf543bb23945d296085c7eac # Parent 1170ac4d7f5bcfa6be31f137e409889e8926c29b Move get_bitmap_glyph() call to a separate loop. diff -r 1170ac4d7f5b -r 29b5596adecd libass/ass_render.c --- a/libass/ass_render.c Tue May 01 15:12:36 2007 +0000 +++ b/libass/ass_render.c Tue May 01 15:14:22 2007 +0000 @@ -1966,10 +1966,12 @@ info->hash_key.shift_x = 0; info->hash_key.shift_y = 0; } - get_bitmap_glyph(info); } } + for (i = 0; i < text_info.length; ++i) + get_bitmap_glyph(text_info.glyphs + i); + event_images->top = device_y - d6_to_int(text_info.lines[0].asc); event_images->height = d6_to_int(text_info.height); event_images->detect_collisions = render_context.detect_collisions;