1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-01 07:59:00 +00:00
Go to file
2012-08-16 15:41:32 +08:00
lib clean code; add support for letter-spacing, word-spacing, horizontal-scale and rise 2012-08-15 18:48:11 +08:00
src fix filename path issue 2012-08-16 15:41:32 +08:00
CMakeLists.txt .. 2012-08-15 11:15:33 +08:00
LICENSE initial import 2012-08-05 02:03:53 +08:00
README.md clean code, solve the infinite-writing problem when tmp_dir == dest_dir 2012-08-15 15:29:35 +08:00

pdf2htmlEX

View Demo

Introduction

pdf2htmlEX renders PDF files in HTML, utilizing modern Web technologies, aims to provide an accuracy rendering, while keeping optimized for Web display.

It is optimized for recent versions of modern web browsers such as Mozilla Firefox & Google Chrome.

This program is designed for scientific papers with complicate formulas and figures, so a precise rendering is also the #1 concern.

Features

  • Single HTML file output
  • Precise rendering
  • Text Selection
  • Font embedding
  • Proper styling (Color, Transformation...)
  • Optimization for Web

Not supported yet

  • Several Font types & encodings
  • Non-text object (Don't worry, they will be rendered as images)
  • Blend Mode
  • ...

Dependency

  • Recent version of GCC (no guarantee on other compilers)
  • libpoppler with xpdf header >= 0.20.2
  • boost c++ library (format, program options, gil, filesystem, serialization, system(which is actually required by filesystem))
  • fontforge Please use the lastest version

HOW TO COMPILE

cmake . && make && sudo make install

HOW TO USE

pdf2htmlEX /path/to/sample.pdf

LICENSE

GPLv3

We would like to acknowledge the following projects that have been consulted while writing this program:

  • pdftops & pdftohtml from poppler
  • MuPDF
  • PDF.js
  • Crocodoc
  • Google Doc

AUTHORS