comparison libvo/font_load_ft.c @ 29328:c2ace2a6a01c

Enable fontconfig support by default. This change takes only in effect, if fontconfig support is actually compiled in. If freetype is not enabled, this patch should have no effect as well. The visible result of this patch is to avoid the warning about a missing ~/.mplayer/subfont.ttf when starting mplayer (or gmplayer) without parameters, like done from the .desktop file.
author siretart
date Wed, 17 Jun 2009 09:16:19 +0000
parents 0f1b5b68af32
children d39aa2e3a91f
comparison
equal deleted inserted replaced
29327:14462e7a4945 29328:c2ace2a6a01c
69 int vo_image_width = 0; 69 int vo_image_width = 0;
70 int vo_image_height = 0; 70 int vo_image_height = 0;
71 int force_load_font; 71 int force_load_font;
72 72
73 int using_freetype = 0; 73 int using_freetype = 0;
74 int font_fontconfig = 0; 74 int font_fontconfig = 1;
75 75
76 //// constants 76 //// constants
77 static unsigned int const colors = 256; 77 static unsigned int const colors = 256;
78 static unsigned int const maxcolor = 255; 78 static unsigned int const maxcolor = 255;
79 static unsigned const base = 256; 79 static unsigned const base = 256;