Jactry Zeng : gdi32: Load system fonts on Android.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 7 11:42:52 CDT 2016


Module: wine
Branch: master
Commit: 5bf43458240e07a31d7034dd064fcaaae08193a1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5bf43458240e07a31d7034dd064fcaaae08193a1

Author: Jactry Zeng <jzeng at codeweavers.com>
Date:   Thu Apr  7 16:59:48 2016 +0900

gdi32: Load system fonts on Android.

Signed-off-by: Jactry Zeng <jzeng at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gdi32/freetype.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index a7ac1bb..f8b4235 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -4238,6 +4238,8 @@ static void init_font_list(void)
     load_fontconfig_fonts();
 #elif defined(HAVE_CARBON_CARBON_H)
     load_mac_fonts();
+#elif defined(__ANDROID__)
+    ReadFontDir("/system/fonts", TRUE);
 #endif
 
     /* then look in any directories that we've specified in the config file */




More information about the wine-cvs mailing list