diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-20 23:14:12 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-20 23:14:12 +0000 |
commit | f3375f1b4d75369a45f24352b368fb5cbd587f6c (patch) | |
tree | 2c50a5b64fb4dad4e4dc9cb9022f8262a09324a4 /libass/ass_render.c | |
parent | 35cc43696da66b9b6c73df244a5c3d92bd5f5499 (diff) | |
download | mpv-f3375f1b4d75369a45f24352b368fb5cbd587f6c.tar.bz2 mpv-f3375f1b4d75369a45f24352b368fb5cbd587f6c.tar.xz |
Remove bbox and advance vector from bitmap cache.
They are now available from glyph cache.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23044 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r-- | libass/ass_render.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index b83a9acfa2..6ec745a1cf 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -410,12 +410,9 @@ static ass_image_t* render_text(text_info_t* text_info, int dst_x, int dst_y) if (text_info->glyphs[i].hash_key.frx == 0 && text_info->glyphs[i].hash_key.fry == 0 && text_info->glyphs[i].hash_key.frz == 0) { - hash_val.bbox_scaled = text_info->glyphs[i].bbox; hash_val.bm_o = text_info->glyphs[i].bm_o; hash_val.bm = text_info->glyphs[i].bm; hash_val.bm_s = text_info->glyphs[i].bm_s; - hash_val.advance.x = text_info->glyphs[i].advance.x; - hash_val.advance.y = text_info->glyphs[i].advance.y; cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val); } @@ -1306,9 +1303,6 @@ static void get_bitmap_glyph(int symbol, glyph_info_t* info, FT_Vector* advance) info->bm = val->bm; info->bm_o = val->bm_o; info->bm_s = val->bm_s; - info->bbox = val->bbox_scaled; - info->advance.x = val->advance.x; - info->advance.y = val->advance.y; } else info->bm = info->bm_o = info->bm_s = 0; } |