/* Win32 */
#ifdef _WIN32
# undef HAVE_FONTCONFIG
-# define HAVE_GET_FONT_BY_FAMILY_NAME
+# if !VLC_WINSTORE_APP
+# define HAVE_GET_FONT_BY_FAMILY_NAME
+# endif
#endif
/* FontConfig */
#if !TARGET_OS_IPHONE
p_sys->pf_select = MacLegacy_Select;
#endif
-#elif defined( _WIN32 )
+#elif defined( _WIN32 ) && defined( HAVE_GET_FONT_BY_FAMILY_NAME )
p_sys->pf_select = Win32_Select;
#else
p_sys->pf_select = Dummy_Select;
VLC_UNUSED(i_idx);
char *psz_fontname;
-# ifdef _WIN32
+# if defined( _WIN32 ) && !VLC_WINSTORE_APP
/* Get Windows Font folder */
char *psz_win_fonts_path = GetWindowsFontPath();
if( asprintf( &psz_fontname, "%s\\%s", psz_win_fonts_path, psz_font ) == -1 )