mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
..
This commit is contained in:
parent
c5950acfee
commit
d36a227a9e
@ -42,7 +42,7 @@ Make sure you install *fontforge* with either the latest version of the one in t
|
|||||||
### Build from srouce
|
### Build from srouce
|
||||||
|
|
||||||
#### Dependency
|
#### Dependency
|
||||||
----------------------------
|
|
||||||
* CMake
|
* CMake
|
||||||
* compilers support C++11
|
* compilers support C++11
|
||||||
* libpoppler with xpdf header >= 0.20.2
|
* 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)**
|
* fontforge **Please use [the lastest version](https://github.com/fontforge/fontforge)**
|
||||||
|
|
||||||
#### Compiling
|
#### Compiling
|
||||||
----------------------------
|
|
||||||
cmake . && make && sudo make install
|
cmake . && make && sudo make install
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
----------------------------
|
|
||||||
pdf2htmlEX /path/to/foobar.pdf
|
pdf2htmlEX /path/to/foobar.pdf
|
||||||
|
|
||||||
pdf2htmlEX --help
|
pdf2htmlEX --help
|
||||||
|
19
TODO
Normal file
19
TODO
Normal 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
|
@ -1,9 +1,7 @@
|
|||||||
//========================================================================
|
|
||||||
// pdftohtmlEX.cc
|
// pdftohtmlEX.cc
|
||||||
//
|
//
|
||||||
// Copyright (C) 2011 by Hongliang TIAN(tatetian@gmail.com)
|
// Copyright (C) 2012 Lu Wang coolwanglu<at>gmail.com
|
||||||
// Copyright (C) 2012 by Lu Wang coolwanglu<at>gmail.com
|
|
||||||
//========================================================================
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@ -50,7 +48,6 @@ void show_usage(void)
|
|||||||
{
|
{
|
||||||
cerr << "pdftohtmlEX version " << PDF2HTMLEX_VERSION << endl;
|
cerr << "pdftohtmlEX version " << PDF2HTMLEX_VERSION << endl;
|
||||||
cerr << endl;
|
cerr << endl;
|
||||||
cerr << "Copyright 2011 Hongliang Tian (tatetian@gmail.com)" << endl;
|
|
||||||
cerr << "Copyright 2012 Lu Wang (coolwanglu<at>gmail.com)" << endl;
|
cerr << "Copyright 2012 Lu Wang (coolwanglu<at>gmail.com)" << endl;
|
||||||
cerr << endl;
|
cerr << endl;
|
||||||
cerr << "Usage: pdf2htmlEX [Options] <PDF-file>" << endl;
|
cerr << "Usage: pdf2htmlEX [Options] <PDF-file>" << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user