diff --git a/README.md b/README.md index 5e2fe05..4967f18 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/TODO b/TODO new file mode 100644 index 0000000..264ea9f --- /dev/null +++ b/TODO @@ -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 diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc index 37b6efb..6a41f5f 100644 --- a/src/pdf2htmlEX.cc +++ b/src/pdf2htmlEX.cc @@ -1,9 +1,7 @@ -//======================================================================== // pdftohtmlEX.cc // -// Copyright (C) 2011 by Hongliang TIAN(tatetian@gmail.com) -// Copyright (C) 2012 by Lu Wang coolwanglugmail.com -//======================================================================== +// Copyright (C) 2012 Lu Wang coolwanglugmail.com + #include #include #include @@ -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 (coolwanglugmail.com)" << endl; cerr << endl; cerr << "Usage: pdf2htmlEX [Options] " << endl;