summaryrefslogtreecommitdiffstats
path: root/libass/ass_font.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_font.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_font.h')
-rw-r--r--libass/ass_font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_font.h b/libass/ass_font.h
index 8fe4c1e..ecba153 100644
--- a/libass/ass_font.h
+++ b/libass/ass_font.h
@@ -54,7 +54,7 @@ ass_font_t *ass_font_new(void *font_cache, ass_library_t *library,
FT_Library ftlibrary, void *fc_priv,
ass_font_desc_t *desc);
void ass_font_set_transform(ass_font_t *font, double scale_x,
- double scale_y, FT_Vector * v);
+ double scale_y, FT_Vector *v);
void ass_font_set_size(ass_font_t *font, double size);
void ass_font_get_asc_desc(ass_font_t *font, uint32_t ch, int *asc,
int *desc);