coolwanglu/pdf2htmlEX — pull request #50 by filodej (2012-11-26 22:56:04+00:00)
Title: Split device

Hello Lu,
first of all, thank you for really nice and inspiring project.

Few days ago I noticed it and started to experiment with it. Not that I had a concrete plan, changing code just helps me to understand it better than if I just read it.
An idea I was experimenting with was to separate the code outputing actual HTML sequences from the more general code like font extraction, text line accumulation etc. In future it could be probably used for implementing different output formats than just HTML.

Do you think that some of the code could be usable for you? Please, feel free to request any changes, or just reject the request. I do not think much about it, it is just an intermediate result of few hours of experimenting. The separation as it should be is by no means finished. I just thought I would share it with you to find out your general feling about it and possibly get some hints if you happened to think it was good for something.

Thank you very much.
BR
Filodej