Open Klap-in opened 9 years ago
issue mentioned at e.g. https://www.dokuwiki.org/plugin:dw2pdf:discussion_old?rev=1352087336&do=diff
Some details about fonts: http://sourcefabric.booktype.pro/booktype-20-for-authors-and-publishers/installing-a-pdf-renderer/
On a busy and thus slow machine I got:
Unable to download the file: https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/tarball/master
while recently I updated already it with a mpdf60 based version. So it is sometimes capable to download it fine.
I'd throw in a suggestion: could we make the plugin be without the mpdf bins and then, somehow, after installation have an admin page - or better an after-installation-hook with a manager that will download the rest or in chunks?
PRs welcome I guess ;)
Since version 6.1 (first new release since community start working on mPDF library) there is a separate package for fonts. Could be useful for improving this issue as well. https://github.com/mpdf/mpdf/releases
My proposal:
make a second plugin for separation of the fonts. Add a msg()
to the dw2pdf if this dependency is missing.
Sounds reasonable. 👍
Since the update of mPDF from 5.7.4 to 6.0, the download package increases from 12MB to 48MB.
The advantage of the large package is that some nice and for wider language support useful fonts are included.
Disadvantage are maybe difficulties during installation.
Solutions:
See also https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/pull/187