Commit 9d2acb95 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Freetype: fix font option

parent b4ca71dd
......@@ -160,8 +160,13 @@ vlc_module_begin ()
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_SUBPIC )
add_font( "freetype-font", DEFAULT_FONT_FILE, NULL, FONT_TEXT, FONT_LONGTEXT,
false )
add_font( "freetype-font",
#ifdef HAVE_STYLES
DEFAULT_FAMILY,
#else
DEFAULT_FONT_FILE,
#endif
NULL, FONT_TEXT, FONT_LONGTEXT, false )
add_integer( "freetype-fontsize", 0, NULL, FONTSIZE_TEXT,
FONTSIZE_LONGTEXT, true )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment