summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache_template.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-07-25 03:59:58 +0200
committerGrigori Goronzy <greg@blackbox>2009-07-25 14:56:16 +0200
commit311ec23031e257a8edde5153b09a5d0c2d6b0f6b (patch)
tree31b8d7c0dab41fc8b2b8385efb14754c14d16e09 /libass/ass_cache_template.h
parenta9f204bdde79bdacb63672482f5666b1e64f4479 (diff)
downloadlibass-311ec23031e257a8edde5153b09a5d0c2d6b0f6b.tar.bz2
libass-311ec23031e257a8edde5153b09a5d0c2d6b0f6b.tar.xz
Remove shift vector in ass_render_event
The shift is not calculated when fetching a glyph anymore. Instead, it is calculated right before rasterizing a glyph. Remove the shift vector and make get_outline_glyph, the glyph cache and ass_font_set_transform work without supplying a shift vector.
Diffstat (limited to 'libass/ass_cache_template.h')
-rw-r--r--libass/ass_cache_template.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libass/ass_cache_template.h b/libass/ass_cache_template.h
index eae98074..d7eedafc 100644
--- a/libass/ass_cache_template.h
+++ b/libass/ass_cache_template.h
@@ -90,7 +90,6 @@ START(glyph, glyph_hash_key_s)
GENERIC(int, italic)
GENERIC(unsigned, scale_x) // 16.16
GENERIC(unsigned, scale_y) // 16.16
- FTVECTOR(advance) // subpixel shift vector
FTVECTOR(outline) // border width, 16.16
GENERIC(unsigned, drawing_hash) // hashcode of a drawing
GENERIC(unsigned, flags) // glyph decoration flags