From f1ba76bfdc779f78ee7471746fee3f230052a411 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 7 Apr 2012 13:48:21 +0200 Subject: [PATCH] create fonts symlink to TTF_FONTS_DIR #77 It took me few tries to figure out that fonts should point to directory with *.ttf files as opposed to directory with subdirectories so I decided to add comment about it --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index f9b2c1e32..8ff43ed3a 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ CRENGINEDIR=$(KPVCRLIGDIR)/crengine FREETYPEDIR=$(MUPDFDIR)/thirdparty/freetype-2.4.8 LFSDIR=luafilesystem +# must point to directory with *.ttf fonts for crengine +TTF_FONTS_DIR=/usr/share/fonts/truetype/freefont/ + # set this to your ARM cross compiler: CC:=arm-unknown-linux-gnueabi-gcc @@ -117,6 +120,7 @@ fetchthirdparty: git submodule init git submodule update ln -sf kpvcrlib/crengine/cr3gui/data data + test -d fonts || ln -sf $(TTF_FONTS_DIR) fonts test -f mupdf-thirdparty.zip || wget http://www.mupdf.com/download/mupdf-thirdparty.zip unzip mupdf-thirdparty.zip -d mupdf cd mupdf/thirdparty/jpeg-*/ && \