diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-18 17:57:00 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-18 17:57:00 +0000 |
commit | 5d24873ac72511f33ccede72fe531f133869bbff (patch) | |
tree | cbbe8c28003bbe3b1c51387bab39996e7cd79290 /libass | |
parent | 440f1563047261fc04baaf5fe9dc0666aa120aeb (diff) | |
download | libass-5d24873ac72511f33ccede72fe531f133869bbff.tar.bz2 libass-5d24873ac72511f33ccede72fe531f133869bbff.tar.xz |
Cosmetics: remove commented code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20299 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_render.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index a7d504cc..ce6dae3a 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) |