Wednesday, July 22, 2015

pdf2htmlEX 0.14.6 is out!

A number of bugs have been fixed in this version.

There is also a new option for the JavaScript viewer, `view_history_handler`, when enabled,  the viewer will remember the location whenever a link is clicked, and you may go back to the previous location by pressing the `back` button of the browser.

Monday, March 16, 2015

New repo to collect test cases

Test cases are always necessary for issues regarding conversion. Users used to upload files into online storage services, their home pages, or other public places, and post back links in the issue reported. While this often works, there are a few issues:

- Some storage services may not be accessible in all regions.
- The files may not be available permanently.
- The uploader did not guarantee that the file can be used as a test case.

Especially for the last one, while the developers may solve the issue temporarily, without a proper test case it is likely that the problem will haunt back again (and again and again) in the future. And most of the time it is not easy to make up one for the developers. This stupid situation might drive the developers crazy!

To solve this, a new repo coolwanglu/pdf2htmlEX-testcase has been set up to collect test case files. Please read the README file for instructions. Basically this is used as a public storage area, and you must make sure that you own the copyright of the files and you agree that the files can be used publicly as a test case in pdf2htmlEX (it will be shipped together with the source code).


This is the preferred way of supplying problematic files for issues newly created. You can still upload your files in private or temporary locations (e.g. you do not own the file), however it is likely that the issue will be assigned lower priorities.

If you have any good ideas or questions about this new repo, please let me know.

Tuesday, November 11, 2014

PPA is Back

The Ubuntu PPA of pdf2htmlEX has not been working for a long time. I could not make the latest version of fontforge compile there.

Recently the Fontforge Team set up their own PPA,  thus I added it to the dependency of the pdf2htmlEX PPA.

Now the packages are back, precise and trusty are supported right now. Enjoy!

Friday, July 25, 2014

pdf2htmlEX v0.12 is out!

pdf2htmlEX v0.12 has been released: https://github.com/coolwanglu/pdf2htmlEX/releases/tag/v0.12

This version brings lots of new features and bug fixed,

Special thanks to Duan Yao, who implemented the long-waited text visibility detection feature (--correct-text-visiblity), and other many others.


Some planned work in the next release would include:
  - better test cases
  - better incorporation with Fontforge (python?)
  - better documentations


 
Complete change log:
 
* Recognize and hide covered text
* Proof mode that allows easy comparison of HTML and PDF
* Do not support Fontforge < 2.0.0 any more
* Output is now XHTML
* Other bug fixed and improvements
* New options
 --process-annotation
 --correct-text-visibility
 --proof
 --svg-node-count-limit
 --svg-embed-bitmap
* Removed options
 --css-draw
 

Sunday, June 29, 2014

Test cases for pdf2htmlEX

For a long time pdf2htmlEX has been lack of test cases, which is terrible, you won't know whether your tiny changes to the code would break some existing features.

Now I'm trying to make that a history. A new repo has been set up at GitHub:

https://github.com/coolwanglu/pdf2htmlEX-tests

This is still in early stage, which is highly experimental, and the interface might be changed in the future. But this is really a good time for you to submit your test cases, just to make sure that you file will be always rendered correctly in future releases of pdf2htmlEX!

Please tell me what you think about it such that I can improve it.

Thank you!

Friday, June 6, 2014

I'm back!

In recently replies on GitHub, I mentioned that I would have access to my build environment later, which is, now!

Let me explain what I can test:
  • Building on Ubuntu
  • Rendering on Windows
  • Rendering on Mac OS X
  • Rendering on Android (phone)


And I cannot test anything that is not in the list. I do have an iPad 1G though, which seems to be too old for now. It just lag for almost every pages produced by pdf2htmlEX, while it seems that recent iPad generations are fast enough to render them.


Recent TODO list:
  • Give another try packaging FontForge for PPA
  • Fix some small issues
  • New version!


Sunday, January 19, 2014

pdf2htmlEX v0.11 is out

pdf2htmlEX v0.11 has been released.  Thanks to all the contributors!

This version includes lots of JavaScript code cleaning. jQuery is now completely removed. The additional term in the license is removed, now pdf2htmlEX is released with pure GPLv3.

 
Complete Changelog:

* Compress JS with closure-compiler
* Compress CSS with YUI Compressor
* jQuery removed
* Lots of JS code cleaning
* Enable global key handler by default
* Use WOFF by default
* Always generate TTF before the final output
* Fix CSS for loading-indicator
* Do not set style for global <span>
* Improvements on the SVG output
* New options
 --tmp-file-size-limit
 --tmp-dir