summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache_template.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-08-15 03:03:10 +0200
committerGrigori Goronzy <greg@blackbox>2009-08-15 03:03:10 +0200
commit1a3b6eef302a2fed759b8c278592c4dd371044fb (patch)
tree62cbc30fddb3b1ed06abc3bde1e8af6917990ffc /libass/ass_cache_template.h
parent4449ec9df99716a1be439c38bffe2a5b013c60bf (diff)
downloadlibass-1a3b6eef302a2fed759b8c278592c4dd371044fb.tar.bz2
libass-1a3b6eef302a2fed759b8c278592c4dd371044fb.tar.xz
Fix caching of underlined/striked out glyphs
Diffstat (limited to 'libass/ass_cache_template.h')
-rw-r--r--libass/ass_cache_template.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libass/ass_cache_template.h b/libass/ass_cache_template.h
index 19ab00ff..8d182ade 100644
--- a/libass/ass_cache_template.h
+++ b/libass/ass_cache_template.h
@@ -54,7 +54,7 @@
// describes a bitmap; bitmaps with equivalents structs are considered identical
-START(bitmap, bipmap_hash_key)
+START(bitmap, bitmap_hash_key)
GENERIC(char, bitmap) // bool : true = bitmap, false = outline
GENERIC(ASS_Font *, font)
GENERIC(double, size) // font size
@@ -79,6 +79,7 @@ START(bitmap, bipmap_hash_key)
FTVECTOR(advance) // subpixel shift vector
FTVECTOR(shadow_offset) // shadow subpixel shift
GENERIC(unsigned, drawing_hash) // hashcode of a drawing
+ GENERIC(unsigned, flags) // glyph decoration
GENERIC(unsigned, border_style)
END(BitmapHashKey)