summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache_template.h
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2014-01-08 00:48:36 +0200
committerOleg Oshmyan <chortos@inbox.lv>2014-01-08 03:24:32 +0200
commita37e3b3eb43f360693ee278bf2991f829b496b25 (patch)
tree75b4b946d5692d3dcb6ad2ef0c8cbb9ae1a21d2c /libass/ass_cache_template.h
parent654e60220d2ae2b6c98681dcce24cbb9e3716755 (diff)
downloadlibass-a37e3b3eb43f360693ee278bf2991f829b496b25.tar.bz2
libass-a37e3b3eb43f360693ee278bf2991f829b496b25.tar.xz
Distinguish cached glyphs with different hspacing when border_style == 3
hspacing affects opaque box borders.
Diffstat (limited to 'libass/ass_cache_template.h')
-rw-r--r--libass/ass_cache_template.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass_cache_template.h b/libass/ass_cache_template.h
index f9aab77..3d8185f 100644
--- a/libass/ass_cache_template.h
+++ b/libass/ass_cache_template.h
@@ -96,6 +96,7 @@ START(glyph, glyph_hash_key)
FTVECTOR(outline) // border width, 16.16
GENERIC(unsigned, flags) // glyph decoration flags
GENERIC(unsigned, border_style)
+ GENERIC(int, hspacing) // 16.16
END(GlyphHashKey)
START(glyph_metrics, glyph_metrics_hash_key)
@@ -114,6 +115,7 @@ START(drawing, drawing_hash_key)
GENERIC(int, pbo)
FTVECTOR(outline)
GENERIC(unsigned, border_style)
+ GENERIC(int, hspacing)
GENERIC(int, scale)
GENERIC(unsigned, hash)
STRING(text)