summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_cache_template.h')
-rw-r--r--libass/ass_cache_template.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libass/ass_cache_template.h b/libass/ass_cache_template.h
index d6f7d1f..f9aab77 100644
--- a/libass/ass_cache_template.h
+++ b/libass/ass_cache_template.h
@@ -98,6 +98,15 @@ START(glyph, glyph_hash_key)
GENERIC(unsigned, border_style)
END(GlyphHashKey)
+START(glyph_metrics, glyph_metrics_hash_key)
+ GENERIC(ASS_Font *, font)
+ GENERIC(double, size)
+ GENERIC(int, face_index)
+ GENERIC(int, glyph_index)
+ GENERIC(unsigned, scale_x)
+ GENERIC(unsigned, scale_y)
+END(GlyphMetricsHashKey)
+
// describes an outline drawing
START(drawing, drawing_hash_key)
GENERIC(unsigned, scale_x)