Comments (7)
I haven't tested, but if you build the latest version from git, it should
support EPUB and HTML, because support was recently added to MuPDF.
On Saturday, November 21, 2015 03:43:23 AM davy39 wrote:
Hi,
I wonder if it is possible to modify the program in order to be able to read
epubs & html. With such kind of small screen, I think that epub are better
than pdf due to their dynamic rendering when zooming. Thank for your work
Reply to this email directly or view it on GitHub:
#10
from npdf.
It looks like main.cpp cfg_register_fileext needed to be implemented as well.
I've done that plus upgrade to mupdf 1.8 (see pull request).
I still not able to open html or epub file, I'm getting "Can't open document" message.
Maybe I'm not building the prg correctly...
Could you try please ?
Thanks
from npdf.
Now that I remember correctly, this actually worked with MuPDF 1.7a. Apparently the issue now is something to do with fonts. When trying to open an HTML file I get the following output:
error: cannot load fallback font
IME: non-ALPHA key pressed
error: can't open document
uncaught exception: can't open document
from npdf.
See http://bugs.ghostscript.com/show_bug.cgi?id=696326.
from npdf.
Do you mean that building without -DNOCJK fix this issue ?
I cannot even get the above message... Could you provide a build for testing please ?
from npdf.
You can either replace the -DNOCJK flag with -DNOCJKFULL, or remove it. Unfortunately, this more than doubles the size of nPDF.tns.
from npdf.
A build with EPUB support is now included.
from npdf.
Related Issues (20)
- Feature request : change page when scrolling HOT 7
- Feature request: search for text HOT 4
- Occasional blank PDF pages HOT 3
- hello HOT 2
- new version HOT 1
- Search bugs, problems, and requests HOT 2
- Does not work on HW-W HOT 2
- Find (ctrl+F) not working HOT 1
- Add Scrollbars HOT 2
- Cannot compile HOT 6
- binaries out of date HOT 2
- error: pathspec 'mupdf/thirdparty/jpeg' did not match any file(s) known to git HOT 1
- Failed to install on TI-nspire CAS HOT 1
- Limited Find Functionality
- Can't get it to compile (update: found a workaround) HOT 31
- Bug report + feature request HOT 12
- nPDF crashes when opening pdf file HOT 4
- Font compatibility HOT 7
- Bug reports
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 npdf.