mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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
This commit is contained in:
4
Makefile
4
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-*/ && \
|
||||
|
||||
Reference in New Issue
Block a user