forked from coolwanglu/pdf2htmlEX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request coolwanglu#2 from coolwanglu/master
update to 0.14.6
- Loading branch information
Showing
37 changed files
with
1,277 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// pdf2htmlEX.cc | ||
// | ||
// Copyright (C) 2012-2014 Lu Wang <[email protected]> | ||
// Copyright (C) 2012-2015 Lu Wang <[email protected]> | ||
|
||
#include <cstdio> | ||
#include <cstdlib> | ||
|
@@ -56,7 +56,7 @@ void show_usage_and_exit(const char * dummy = nullptr) | |
void show_version_and_exit(const char * dummy = nullptr) | ||
{ | ||
cerr << "pdf2htmlEX version " << PDF2HTMLEX_VERSION << endl; | ||
cerr << "Copyright 2012-2014 Lu Wang <[email protected]> and other contributors" << endl; | ||
cerr << "Copyright 2012-2015 Lu Wang <[email protected]> and other contributors" << endl; | ||
cerr << "Libraries: " << endl; | ||
cerr << " poppler " << POPPLER_VERSION << endl; | ||
cerr << " libfontforge " << ffw_get_version() << endl; | ||
|
@@ -76,13 +76,6 @@ void show_version_and_exit(const char * dummy = nullptr) | |
#endif | ||
cerr << endl; | ||
|
||
// TODO: define constants | ||
if(ffw_get_version() < 20130101LL) | ||
{ | ||
cerr << endl | ||
<< "Warning: pdf2htmlEX has been built with a too old version of Fontforge, which is not supported." << endl; | ||
} | ||
|
||
cerr << endl; | ||
exit(EXIT_SUCCESS); | ||
} | ||
|
@@ -255,7 +248,6 @@ void check_param() | |
if(get_suffix(param.input_filename) == ".pdf") | ||
{ | ||
param.output_filename = s.substr(0, s.size() - 4) + ".html"; | ||
|
||
} | ||
else | ||
{ | ||
|
@@ -298,8 +290,7 @@ void check_param() | |
} | ||
else | ||
{ | ||
if(!param.split_pages) | ||
param.css_filename = s + ".css"; | ||
param.css_filename = s + ".css"; | ||
} | ||
} | ||
if(param.outline_filename.empty()) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
|
||
char *mkdtemp(char *temp); | ||
|
||
#include <direct.h> | ||
#define mkdir(A, B) _mkdir(A) | ||
#define stat _stat | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.