diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/xpdf/pdftohtml.cc')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/xpdf/pdftohtml.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/xpdf/pdftohtml.cc b/Build/source/libs/xpdf/xpdf-src/xpdf/pdftohtml.cc index b458202effb..29095509bed 100644 --- a/Build/source/libs/xpdf/xpdf-src/xpdf/pdftohtml.cc +++ b/Build/source/libs/xpdf/xpdf-src/xpdf/pdftohtml.cc @@ -171,6 +171,7 @@ int main(int argc, char *argv[]) { htmlGen->setZoom(zoom); htmlGen->setDrawInvisibleText(!skipInvisible); htmlGen->setAllTextInvisible(allInvisible); + htmlGen->setExtractFontFiles(gTrue); htmlGen->startDoc(doc); // convert the pages @@ -191,7 +192,7 @@ int main(int argc, char *argv[]) { goto err2; } pngURL = GString::format("page{0:d}.png", pg); - err = htmlGen->convertPage(pg, pngURL->getCString(), + err = htmlGen->convertPage(pg, pngURL->getCString(), htmlDir, &writeToFile, htmlFile, &writeToFile, pngFile); delete pngURL; |