Mercurial > mplayer.hg
changeset 23170:15a05bafc9c7
Bugfix: glyph cache depends on border width, because it contains outline_glyph
(glyph border obtained with FT_Glyph_StrokeBorder) since r23043.
author | eugeni |
---|---|
date | Tue, 01 May 2007 14:29:28 +0000 |
parents | f1fedd147362 |
children | deb1b445110a |
files | libass/ass_cache.h libass/ass_render.c |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_cache.h Tue May 01 14:08:26 2007 +0000 +++ b/libass/ass_cache.h Tue May 01 14:29:28 2007 +0000 @@ -66,6 +66,7 @@ int bold, italic; unsigned scale_x, scale_y; // 16.16 FT_Vector advance; // subpixel shift vector + unsigned outline; // border width, 16.16 } glyph_hash_key_t; typedef struct glyph_hash_val_s {
--- a/libass/ass_render.c Tue May 01 14:08:26 2007 +0000 +++ b/libass/ass_render.c Tue May 01 14:29:28 2007 +0000 @@ -1237,6 +1237,7 @@ key.advance = *advance; key.bold = render_context.bold; key.italic = render_context.italic; + key.outline = render_context.border * 0xFFFF; info->glyph = info->outline_glyph = 0;