diff options
author | greg <greg@blackbox> | 2009-06-23 02:55:04 +0200 |
---|---|---|
committer | greg <greg@blackbox> | 2009-06-23 02:58:24 +0200 |
commit | 832fdb11a38f74bbd14ba6029a872e15501a1216 (patch) | |
tree | eaeaa4d2e886f0ad2b9ecfee4f9a6e0d6d105769 /libass/ass_cache_template.c | |
parent | 0b9223d493e016ccdce91aae1a6f69aff6c03a0f (diff) | |
download | libass-832fdb11a38f74bbd14ba6029a872e15501a1216.tar.bz2 libass-832fdb11a38f74bbd14ba6029a872e15501a1216.tar.xz |
Initial support for \fax, \fay override tags
This adds support for the \fax and \fay override tags which can be used
for shearing the text horizontally and vertically. At the moment, this
works correctly on a per-glyph basis, however, the glyph positioning is
wrong, which is especially evident with \fay.
Diffstat (limited to 'libass/ass_cache_template.c')
-rw-r--r-- | libass/ass_cache_template.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass_cache_template.c b/libass/ass_cache_template.c index 11c7588e..96b47521 100644 --- a/libass/ass_cache_template.c +++ b/libass/ass_cache_template.c @@ -69,6 +69,8 @@ START(bitmap, bipmap_hash_key_s) GENERIC(int, frx) // signed 16.16 GENERIC(int, fry) // signed 16.16 GENERIC(int, frz) // signed 16.16 + GENERIC(int, fax) // signed 16.16 + GENERIC(int, fay) // signed 16.16 // shift vector that was added to glyph before applying rotation // = 0, if frx = fry = frx = 0 // = (glyph base point) - (rotation origin), otherwise |