diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc index 9c7282c..257eba5 100644 --- a/src/pdf2htmlEX.cc +++ b/src/pdf2htmlEX.cc @@ -1,6 +1,6 @@ // pdf2htmlEX.cc // -// Copyright (C) 2012,2013 Lu Wang +// Copyright (C) 2012-2014 Lu Wang #include #include @@ -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,2013 Lu Wang and other contributers" << endl; + cerr << "Copyright 2012-2014 Lu Wang and other contributers" << endl; cerr << "Libraries: " << endl; cerr << " poppler " << POPPLER_VERSION << endl; cerr << " libfontforge " << ffw_get_version() << endl; @@ -75,6 +75,14 @@ void show_version_and_exit(const char * dummy = nullptr) cerr << " svg"; #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); }