summaryrefslogtreecommitdiff
path: root/platform/java/Android.mk
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-01-20 16:22:44 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-02-20 16:54:50 +0100
commitdc2847a52f291a1df54c25c41e3d543de210fdb4 (patch)
treee643190c682625472c6c03ce9f44c127371db258 /platform/java/Android.mk
parentf4defeee497d21a211f83e7a8d2d6c2dcadca607 (diff)
downloadmupdf-dc2847a52f291a1df54c25c41e3d543de210fdb4.tar.xz
android: Use system fonts as fallback instead of compiling binary blobs.
This drastically reduces the size of the android library. Unfortunately it means font support is limited to what is available on the device. We look for both the old DroidSans fonts and the more recent Noto fonts.
Diffstat (limited to 'platform/java/Android.mk')
-rw-r--r--platform/java/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/java/Android.mk b/platform/java/Android.mk
index 83cff536..ae43f869 100644
--- a/platform/java/Android.mk
+++ b/platform/java/Android.mk
@@ -53,6 +53,7 @@ LOCAL_C_INCLUDES := \
LOCAL_CFLAGS := \
-ffunction-sections -fdata-sections \
+ -DTOFU_NOTO -DTOFU_CJK \
-DAA_BITS=8 \
LOCAL_SRC_FILES += \