Description
I am about to issue a pull request from my stephengaito/pdf2htmlEX development repository back into the main pdf2htmlEX/pdf2htmlEX repository.
My changes are likely to break your build (if and when you move to our more recent version).
Highlight of changes:
- pdf2htmlEX now uses poppler-0.89.0 (released last month)
- pdf2htmlEX now uses fontforge 20200314
- pdf2htmlEX used to copy "interface" code from poppler and fontforge into pdf2htmlEX's own srouce tree. These sources are no longer copied, instead, the pdf2htmlEX source now expects the poppler and fontforge sources inside the main pdf2htmlEX repository tree (see below).
- both poppler and fontforge are now automatically downloaded from their releases pages, and statically compiled, and then statically linked directly into the pdf2htmlEX binary. (This ensures that pdf2htmlEX's use of poppler and fontforge will not conflict with any poppler and fontforge libraries installed in the user's OS).
- to support these changes, the pdf2htmlEX source has been moved one directory deeper in the repository tree, to allow poppler and fontforge to be downloaded and built in "sister" directories (keeping things as "simple" and "explicit" as possible).
- there is now a "buildScripts" directory in the root of the repository, which contains all of the bash scripts required to download, build, and package poppler, fontforge and ultimately pdf2htmlEX. (I have kept to using bash scripts so as to make as few assumptions as possible about the underlying OS's tools -- however, at the moment, I have assumed the use of "apt" to install dependencies -- though the use of other package installation tools could be added).
- pdf2htmlEX is now distributed using AppImages, Docker Images, and Debian Packages.
I have just had a look at how you have structured your use of pdf2htmlEX. Your use of Gradle to automate the build is impressive... very nice, explicit and clean.
I have considered creating an official shared library for pdf2htmlEX... but alas I have not yet found the time to do that. (I can see your wrapper, when I get time to create an official shared library, I will attempt to model it on your wrapper's needs).
I notice a number of patch files for both pdf2htmlEX and (a now rather old version of) fontforge. Once I have completed my current pull request, I will look at what parts of these patches are still relevant and then apply them.
This issue is meant to open a conversation on the impacts of my changes to pdf2htmlEX
At the moment, and until you move from pdf2htmlEX/pdf2htmlEX/archive/v0.18.7-poppler-0.81.0, I do not see any major problems.
So I am likely to proceed over the next couple of days with my pull request from my development repo into the main pdf2htmlEX repo.
I hope this is OK.
Regards,
Stephen Gaito