From f52c69d62df39dcbec4bdb9673b28a4b86b464cb Mon Sep 17 00:00:00 2001 From: eugeni Date: Tue, 28 Nov 2006 22:20:24 +0000 Subject: [PATCH] Add FT_Library to ass_font_t. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21365 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libass/ass_font.c | 1 + libass/ass_font.h | 1 + 2 files changed, 2 insertions(+) diff --git a/libass/ass_font.c b/libass/ass_font.c index 990ea56..6c61c69 100644 --- a/libass/ass_font.c +++ b/libass/ass_font.c @@ -73,6 +73,7 @@ ass_font_t* ass_font_new(FT_Library ftlibrary, void* fc_priv, ass_font_desc_t* d charmap_magic(face); font = calloc(1, sizeof(ass_font_t)); + font->ftlibrary = ftlibrary; font->path = strdup(path); font->index = index; font->face = face; diff --git a/libass/ass_font.h b/libass/ass_font.h index da86064..f1ae7a6 100644 --- a/libass/ass_font.h +++ b/libass/ass_font.h @@ -31,6 +31,7 @@ typedef struct ass_font_s { ass_font_desc_t desc; char* path; int index; + FT_Library ftlibrary; FT_Face face; FT_Matrix m; // current transformation FT_Vector v; // current shift -- 2.40.0