forked from coolwanglu/pdf2htmlEX
-
Notifications
You must be signed in to change notification settings - Fork 0
coolwanglu edited this page Oct 2, 2012
·
65 revisions
- For FUN
- To get myself entertained
- To be possibly useful for others
- C++ (most part)
- C (wrapper of Fontforge)
- HTML (output)
- CSS (complicated enough to be considered as a language)
- Javascript (UI actions/effects)
- Python (scripts for testing / packaging)
- Add a star in the project page, at the top-right corner.
- Tell others about it, using your social power.
- Use it and enjoy it.
- Please consider making a donation.
- Tell me what's wrong.
- Technical complaints are welcome.
- Emotional are not.
- Bug reports are always welcome, please file an issue with the link to the broken pdf file.
- However there are several exceptions when the bug cannot be fixed in time (or at all)
- The file does not follow the PDF standard (it might still be displayed correctly in PDF viewers)
- Something wrong with libraries used by pdf2htmlEX (poppler / fontforge)
- I am implementing features that are interesting to me.
- Find what I'm working on in TODO in the project dir.
- Bump the priority of some feature by proposing a feature commission (see below).
- Pull requests / patches are as welcome as bug reports.
- Thank you!
- Try to convince me that the feature is attractive/challenging/important.
- I will put it into the TODO list.
- There's little chance that feature requests about user interface will be accepted.
- Feature Commissions are accepted.
- Proposed a feature and price by
- Sending me an email
- OR filing a new Issue on GitHub
- OR leaving comments on an existing Issue on GitHub
- I will confirm before I start to implement
- Proposed a feature and price by
- Make sure you have installed all required packages (and headers).
- Make sure poppler has been compiled with --enable-xpdf-headers
- Especially when you see something about goo/GooString.h
- Make sure C++11 is supported by your compiler
- Fontforge has not been linking friendly until recent:
- Git version is recommended
- If there's something wrong about 'spiroentrypoints.h', install header files of libspiro
- If there's something wrong about 'undefined reference of Py_xxx', install header files of python-2.x
- If there's something wrong about 'libintl.h', install gettext and set your system include path accordingly.
- Run 'sudo make install' or 'make install', depending on your environment.
- Make sure you did not specify --process-nontext 0
- Make sure libpng (and headers) is installed BEFORE poppler was compiled.
Recommended web browsers
- IE9 / Firefox / Opera / Chrome (Windows)
- Firefox / Chrome / Opera (Linux/Mac)
- Dolphin Browser (Android)
- Don't zoom in too much
- Use a smaller value for --font-size-multiplier
- Install ttfautohint and run pdf2htmlEX with --external-hint-tool=ttfautohint
- Try --auto-hint 1 carefully, which is experimental now.
- try run with --tounicode 1
- try run with --zoom 2
- try run with --hdpi 288 --vdpi 288