changeset 23174:29b5596adecd

Move get_bitmap_glyph() call to a separate loop.
author eugeni
date Tue, 01 May 2007 15:14:22 +0000
parents 1170ac4d7f5b
children 55a6114fd7d6
files libass/ass_render.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;