[MPlayer-cvslog] r20299 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Wed Oct 18 19:57:01 CEST 2006


Author: eugeni
Date: Wed Oct 18 19:57:00 2006
New Revision: 20299

Modified:
   trunk/libass/ass_render.c

Log:
Cosmetics: remove commented code.


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Wed Oct 18 19:57:00 2006
@@ -1862,7 +1862,6 @@
 			center.x += (str_bbox.xMax - str_bbox.xMin) / 2;
 			center.y += (str_bbox.yMax - str_bbox.yMin) / 2;
 		}
-//		mp_msg(MSGT_GLOBAL, MSGL_DBG2, "\ncenter: %d, %d\n", center.x, center.y);
 
 		for (i = 0; i < text_info.length; ++i) {
 			glyph_info_t* info = text_info.glyphs + i;
@@ -1871,13 +1870,11 @@
 			// shift = (position - center)*M - (position - center)
 			FT_Vector start;
 			FT_Vector start_old;
-//			mp_msg(MSGT_GLOBAL, MSGL_INFO, "start: (%d, %d) + (%d, %d) - (%d, %d) = (%d, %d)\n", info->pos.x, info->pos.y, device_x, device_y, center.x, center.y,
-//					info->pos.x + device_x - center.x, info->pos.y + device_y - center.y);
+
 			start.x = (info->pos.x + device_x - center.x) << 6;
 			start.y = - (info->pos.y + device_y - center.y) << 6;
 			start_old.x = start.x;
 			start_old.y = start.y;
-//			mp_msg(MSGT_GLOBAL, MSGL_INFO, "start: %d, %d\n", start.x / 64, start.y / 64);
 
 			FT_Vector_Transform(&start, &matrix_rotate);
 			
@@ -1887,7 +1884,6 @@
 			info->pos.x += start.x >> 6;
 			info->pos.y -= start.y >> 6;
 
-//			mp_msg(MSGT_GLOBAL, MSGL_DBG2, "shift: %d, %d\n", start.x / 64, start.y / 64);
 			if (info->glyph)
 				FT_Glyph_Transform( info->glyph, &matrix_rotate, 0 );
 			if (info->outline_glyph)



More information about the MPlayer-cvslog mailing list