mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
changelog
This commit is contained in:
parent
f04941bed0
commit
d78a4b4154
@ -1,5 +1,14 @@
|
|||||||
Developing v0.10
|
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
|
v0.9
|
||||||
2013.09.16
|
2013.09.16
|
||||||
|
|
||||||
|
@ -41,6 +41,12 @@ using namespace pdf2htmlEX;
|
|||||||
Param param;
|
Param param;
|
||||||
ArgParser argparser;
|
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)
|
void show_usage_and_exit(const char * dummy = nullptr)
|
||||||
{
|
{
|
||||||
cerr << "Usage: pdf2htmlEX [options] <input.pdf> [<output.html>]" << endl;
|
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 << "pdf2htmlEX version " << PDF2HTMLEX_VERSION << endl;
|
||||||
cerr << "Copyright 2012,2013 Lu Wang <coolwanglu@gmail.com> and other contributers" << endl;
|
cerr << "Copyright 2012,2013 Lu Wang <coolwanglu@gmail.com> and other contributers" << endl;
|
||||||
cerr << endl;
|
cerr << "Libraries: " << endl;
|
||||||
cerr << "Libraries: ";
|
cerr << " poppler " << POPPLER_VERSION << endl;
|
||||||
cerr << "poppler " << POPPLER_VERSION << ", ";
|
cerr << " libfontforge " << ffw_get_version() << endl;
|
||||||
cerr << "libfontforge " << ffw_get_version() << endl;
|
|
||||||
#if ENABLE_SVG
|
#if ENABLE_SVG
|
||||||
cerr << "cairo " << cairo_version_string() << endl;
|
cerr << " cairo " << cairo_version_string() << endl;
|
||||||
#endif
|
#endif
|
||||||
cerr << endl;
|
|
||||||
cerr << "Default data-dir: " << PDF2HTMLEX_DATA_PATH << endl;
|
cerr << "Default data-dir: " << PDF2HTMLEX_DATA_PATH << endl;
|
||||||
cerr << "Supported image format:";
|
cerr << "Supported image format:";
|
||||||
#ifdef ENABLE_LIBPNG
|
#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("version,v", "print copyright and version info", &show_version_and_exit)
|
||||||
.add("help,h", "print usage information", &show_usage_and_exit)
|
.add("help,h", "print usage information", &show_usage_and_exit)
|
||||||
|
|
||||||
|
// deprecated
|
||||||
|
.add("font-suffix", "", &deprecated_font_suffix)
|
||||||
|
|
||||||
.add("", ¶m.input_filename, "", "")
|
.add("", ¶m.input_filename, "", "")
|
||||||
.add("", ¶m.output_filename, "", "")
|
.add("", ¶m.output_filename, "", "")
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user