1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
Go to file
Hongliang TIAN fe6d699e44 Improve small font rendering in Webkit browsers
The style "-webkit-text-stroke-width:0.2px;" is used in #pdf-main to
improve some font of small size, which looks really bad in Chrome & Safari
2012-08-14 13:08:36 +08:00
bin now we stil dump font ourselves 2012-08-10 23:40:57 +08:00
src Improve small font rendering in Webkit browsers 2012-08-14 13:08:36 +08:00
CMakeLists.txt Add install target to CMake 2012-08-13 10:17:18 +08:00
LICENSE initial import 2012-08-05 02:03:53 +08:00
README.md update README 2012-08-13 13:28:05 +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

  • 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

  • libpoppler with xpdf header >= 0.20.2
  • boost c++ library (format, program options, gil)
  • fontforge Please use the lastest version

HOW TO COMPILE

cmake . && make

HOW TO USE

bin/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