Open GoogleCodeExporter opened 9 years ago
The problem is that including CJK fonts would greatly increase file size. I
think it would be good if we had two releases, one with CJK fonts and one
without.
Original comment by arpruss
on 24 Jul 2011 at 6:16
Separated packages would be very useful!
Original comment by yuanc...@gmail.com
on 24 Jul 2011 at 11:49
Hi arpruss,
I want to ask: how to add more fonts in Mupdf (ex: cjk fonts).
Can u help me please?
Thanks
Best regards
Original comment by trungnd1...@gmail.com
on 15 Aug 2011 at 5:33
run ndk-build apv project.
modify the apv\pdfview\jni\mupdf\pdf\Android.mk
in line 9:
#LOCAL_CFLAGS := -DNOCJK -O3 -DARCH_ARM
change to:
LOCAL_CFLAGS := -O3 -DARCH_ARM
because the fonts is included by file:apv\pdfview\jni\mupdf\pdf\pdf_fontfile.c
-------------------------
#ifdef NOCJK
#define NOCJKFONT
#endif
#include "../generated/font_base14.h"
#ifndef NODROIDFONT
#include "../generated/font_droid.h"
#endif
#ifndef NOCJKFONT
#include "../generated/font_cjk.h"
#endif
-------------------------
then ,download mupdf-source,and make, to generate "generated" directory:"I
don't know how to genera the file by build apv project... so,i copy files from
mupdf."
-------------------------
copy cmap*.h,font_cjk.h to \apv\pdfview\jni\mupdf\generated
run ndk-build to get a new apk! good luck.
Original comment by arc...@gmail.com
on 5 Mar 2012 at 1:23
Original issue reported on code.google.com by
yuanc...@gmail.com
on 1 Jan 2011 at 11:07Attachments: