From 67232605efd807725a653e1ecab32874377e9c40 Mon Sep 17 00:00:00 2001 From: eugeni Date: Wed, 18 Oct 2006 17:57:00 +0000 Subject: Cosmetics: remove commented code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20299 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libass/ass_render.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libass/ass_render.c') diff --git a/libass/ass_render.c b/libass/ass_render.c index a7d504ccdb..ce6dae3a0c 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -1862,7 +1862,6 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images) 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 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images) // 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 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images) 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) -- cgit v1.2.3