From 194fc1b15b8c5dfb3b7a5a78e0f83ed9c0e21f3b Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 20 May 2007 16:10:45 +0000 Subject: add new -subfont option, that allows having a different font for OSD (controls and menu) and subtitles git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23356 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/font_load.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libvo/font_load.h') diff --git a/libvo/font_load.h b/libvo/font_load.h index 6d8da8515e..db427473d7 100644 --- a/libvo/font_load.h +++ b/libvo/font_load.h @@ -62,6 +62,7 @@ typedef struct { } font_desc_t; extern font_desc_t* vo_font; +extern font_desc_t* sub_font; #ifdef HAVE_FREETYPE @@ -86,7 +87,7 @@ void free_font_desc(font_desc_t *desc); void render_one_glyph(font_desc_t *desc, int c); int kerning(font_desc_t *desc, int prevc, int c); -void load_font_ft(int width, int height); +void load_font_ft(int width, int height, font_desc_t **desc, const char *name); void blur(unsigned char *buffer, unsigned short *tmp2, int width, int height, int stride, int *m2, int r, int mwidth); -- cgit v1.2.3