splitbrain / dokuwiki-plugin-dw2pdf

A fork of Luigi Micco's PDF export plugin for DokuWiki
http://www.dokuwiki.org/plugin:dw2pdf
55 stars 68 forks source link

Large download (since mPDF 6.0) #194

Open Klap-in opened 9 years ago

Klap-in commented 9 years ago

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

Klap-in commented 9 years ago

issue mentioned at e.g. https://www.dokuwiki.org/plugin:dw2pdf:discussion_old?rev=1352087336&do=diff

Klap-in commented 9 years ago

Some details about fonts: http://sourcefabric.booktype.pro/booktype-20-for-authors-and-publishers/installing-a-pdf-renderer/

Klap-in commented 9 years ago

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.

gamma commented 9 years ago

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 ;)

Klap-in commented 8 years ago

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

Klap-in commented 6 years ago

My proposal: make a second plugin for separation of the fonts. Add a msg() to the dw2pdf if this dependency is missing.

trebmuh commented 6 years ago

Sounds reasonable. 👍