diff options
Diffstat (limited to 'libass/ass_font.c')
-rw-r--r-- | libass/ass_font.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libass/ass_font.c b/libass/ass_font.c index 4e5e834..9f2d131 100644 --- a/libass/ass_font.c +++ b/libass/ass_font.c @@ -97,21 +97,21 @@ void ass_font_set_transform(ass_font_t* font, FT_Matrix* m, FT_Vector* v) font->v.x != v->x || font->v.y != v->y ) { - font->m.xx = m->xx; - font->m.xy = m->xy; - font->m.yx = m->yx; - font->m.yy = m->yy; - font->v.x = v->x; - font->v.y = v->y; - FT_Set_Transform(font->face, &font->m, &font->v); + font->m.xx = m->xx; + font->m.xy = m->xy; + font->m.yx = m->yx; + font->m.yy = m->yy; + font->v.x = v->x; + font->v.y = v->y; + FT_Set_Transform(font->face, &font->m, &font->v); } } void ass_font_set_size(ass_font_t* font, int size) { if (font->size != size) { - font->size = size; - FT_Set_Pixel_Sizes(font->face, 0, size); + font->size = size; + FT_Set_Pixel_Sizes(font->face, 0, size); } } |