summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-07 13:29:13 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-07 13:29:13 +0000
commit5ad67a4f7caae249dcd491edc0cc8330813109ba (patch)
tree1db165d75933c55c1317312f0bab7bef228f28df /libvo
parentc3d4f52d7c23a49d04023f4262c2d773583e1cc7 (diff)
downloadmpv-5ad67a4f7caae249dcd491edc0cc8330813109ba.tar.bz2
mpv-5ad67a4f7caae249dcd491edc0cc8330813109ba.tar.xz
Set freetype flag in the font_desc_t when using a freetype font.
Patched by Guillaume LECERF <foxcore A gmail P com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25640 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/font_load_ft.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c
index 689ee1e208..9b4f1d8adb 100644
--- a/libvo/font_load_ft.c
+++ b/libvo/font_load_ft.c
@@ -840,6 +840,7 @@ static font_desc_t* init_font_desc(void)
desc->height = 0;
desc->max_width = 0;
desc->max_height = 0;
+ desc->freetype = 1;
desc->tables.g = NULL;
desc->tables.gt2 = NULL;