1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

changelog

This commit is contained in:
Lu Wang 2013-09-18 20:30:52 +08:00
parent f04941bed0
commit d78a4b4154
2 changed files with 22 additions and 6 deletions

View File

@ -1,5 +1,14 @@
Developing v0.10
* Background image optimization
* Support output background image in JPEG (--bg-format jpg)
* [Experimental] Support output background image in SVG (--bg-format svg)
* New options
--bg-format
--font-format (same as --font-sufix, but without the leading dot)
* Deprecated options:
--font-suffix
v0.9
2013.09.16

View File

@ -41,6 +41,12 @@ using namespace pdf2htmlEX;
Param param;
ArgParser argparser;
void deprecated_font_suffix(const char * dummy = nullptr)
{
cerr << "--font-suffix is deprecated. Use `--font-format` instead." << endl;
exit(EXIT_FAILURE);
}
void show_usage_and_exit(const char * dummy = nullptr)
{
cerr << "Usage: pdf2htmlEX [options] <input.pdf> [<output.html>]" << endl;
@ -52,14 +58,12 @@ void show_version_and_exit(const char * dummy = nullptr)
{
cerr << "pdf2htmlEX version " << PDF2HTMLEX_VERSION << endl;
cerr << "Copyright 2012,2013 Lu Wang <coolwanglu@gmail.com> and other contributers" << endl;
cerr << endl;
cerr << "Libraries: ";
cerr << "poppler " << POPPLER_VERSION << ", ";
cerr << "libfontforge " << ffw_get_version() << endl;
cerr << "Libraries: " << endl;
cerr << " poppler " << POPPLER_VERSION << endl;
cerr << " libfontforge " << ffw_get_version() << endl;
#if ENABLE_SVG
cerr << "cairo " << cairo_version_string() << endl;
cerr << " cairo " << cairo_version_string() << endl;
#endif
cerr << endl;
cerr << "Default data-dir: " << PDF2HTMLEX_DATA_PATH << endl;
cerr << "Supported image format:";
#ifdef ENABLE_LIBPNG
@ -171,6 +175,9 @@ void parse_options (int argc, char **argv)
.add("version,v", "print copyright and version info", &show_version_and_exit)
.add("help,h", "print usage information", &show_usage_and_exit)
// deprecated
.add("font-suffix", "", &deprecated_font_suffix)
.add("", &param.input_filename, "", "")
.add("", &param.output_filename, "", "")
;