changeset 21349:11679d93c7d8

Add FT_Library to ass_font_t.
author eugeni
date Tue, 28 Nov 2006 22:20:24 +0000
parents d7920b488fa2
children 5337cdeec169
files libass/ass_font.c libass/ass_font.h
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_font.c	Tue Nov 28 22:17:33 2006 +0000
+++ b/libass/ass_font.c	Tue Nov 28 22:20:24 2006 +0000
@@ -73,6 +73,7 @@
 	charmap_magic(face);
 	
 	font = calloc(1, sizeof(ass_font_t));
+	font->ftlibrary = ftlibrary;
 	font->path = strdup(path);
 	font->index = index;
 	font->face = face;
--- a/libass/ass_font.h	Tue Nov 28 22:17:33 2006 +0000
+++ b/libass/ass_font.h	Tue Nov 28 22:20:24 2006 +0000
@@ -31,6 +31,7 @@
 	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