1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 20:50:07 +00:00
This commit is contained in:
Lu Wang 2012-08-28 18:27:45 +08:00
parent c5950acfee
commit d36a227a9e
3 changed files with 24 additions and 8 deletions

View File

@ -42,7 +42,7 @@ Make sure you install *fontforge* with either the latest version of the one in t
### Build from srouce
#### Dependency
----------------------------
* CMake
* compilers support C++11
* libpoppler with xpdf header >= 0.20.2
@ -50,11 +50,11 @@ Make sure you install *fontforge* with either the latest version of the one in t
* fontforge **Please use [the lastest version](https://github.com/fontforge/fontforge)**
#### Compiling
----------------------------
cmake . && make && sudo make install
## Usage
----------------------------
pdf2htmlEX /path/to/foobar.pdf
pdf2htmlEX --help

19
TODO Normal file
View File

@ -0,0 +1,19 @@
z-index for space span
fake space detection
manpage
option to break ligatures
check if we can add information to the font, and let browsers show ligatures automatically
use absolute positioning for long whitespace
solution/workaround for latex math fonts
wiki page
- why the html looks ugly : use a modern web browser, use Linux/Mac, (enabling ClearType for Windows XP)
- why got incorrect text after copy&paste : try ligature or always-apply-unicode
- why text are so small : set --zoom or zoom in the page
- why images are blurred : set higher dpi
custom html/css
native support for image
native support for draw

View File

@ -1,9 +1,7 @@
//========================================================================
// pdftohtmlEX.cc
//
// Copyright (C) 2011 by Hongliang TIAN(tatetian@gmail.com)
// Copyright (C) 2012 by Lu Wang coolwanglu<at>gmail.com
//========================================================================
// Copyright (C) 2012 Lu Wang coolwanglu<at>gmail.com
#include <cstdio>
#include <cstdlib>
#include <cstddef>
@ -50,7 +48,6 @@ void show_usage(void)
{
cerr << "pdftohtmlEX version " << PDF2HTMLEX_VERSION << endl;
cerr << endl;
cerr << "Copyright 2011 Hongliang Tian (tatetian@gmail.com)" << endl;
cerr << "Copyright 2012 Lu Wang (coolwanglu<at>gmail.com)" << endl;
cerr << endl;
cerr << "Usage: pdf2htmlEX [Options] <PDF-file>" << endl;