Comments (4)
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
- Changed state: Accepted
from apv.
Separated packages would be very useful!
Original comment by [email protected]
on 24 Jul 2011 at 11:49
from apv.
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 [email protected]
on 15 Aug 2011 at 5:33
from apv.
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 [email protected]
on 5 Mar 2012 at 1:23
from apv.
Related Issues (20)
- How to use APV in android app
- Source Code
- PDF renders with white pages
- How to turn on Horizontal scrolling
- Exception in Libc after loading password protected file.
- Text being cut out between pages with Text Reflow
- Cannot trigger errorMessageDialog in PagesView
- dosnt work, dosnt show any file
- APV won't open locally-stored PDFs HOT 2
- Left / Right buttons aren't configurable HOT 1
- Feature: More recent items
- java.lang.UnsatisfiedLinkError: cannot locate '__isnanf'
- Crash when opening several pdfs consecutively
- Project migration
- [deleted issue]
- could not access files HOT 1
- Page number count too small
- Page number count too small
- Page number count too small
- fails to compile with support:appcompat-v7:21 - cannot find symbol R.layout.abc_action_bar_decor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apv.