Enhancement #1285

Update mPDF lib

Added by Blatti Yves over 3 years ago. Updated about 3 years ago.

Status:AffectedStart date:03/16/2016
Priority:LowDue date:
Assignee:Blatti Yves% Done:

0%

Category:CORE
Target version:-
Sponsor: Ergonomic impact:

-

Functional impact:

Enhance the quality of PDF outputs (metadata and dashboard)


Description

mPDF has evolved, and some cool addition have been made (spcially in CSS support)
(copy of changelog here : https://github.com/kartik-v/mpdf/blob/master/CHANGELOG.txt)
Can we update it ?

History

#1 Updated by Van Hoecke Hélène over 3 years ago

  • Status changed from New to Request For Comments

#2 Updated by Van Hoecke Hélène over 3 years ago

  • Status changed from Request For Comments to Accepted
  • Assignee changed from Technical Committee to Blatti Yves

#3 Updated by Blatti Yves over 3 years ago

  • Status changed from Accepted to Affected

The more active fork is https://github.com/mpdf/mpdf
They will release the (6.1.0 soon see changelog : https://github.com/mpdf/mpdf/blob/81339340b8dc167c6e7ca7b8b60a7a82b8d4e346/CHANGELOG.txt), I'll wait for this release

#4 Updated by Blatti Yves over 3 years ago

6.1.0 Is out, I tested it, and it does a lot things better (in facts of styling ability, css selectors, etc).
One major problem : the package has gone from 12Mo to 52Mo !!

After a check, the weight gain comes from the new exotics fonts: Chinese, Japanese, Korean, Tibetan, Egyptian hieroglyphs, etc.
I propose to remove them (~60Mo uncompressed) and document how to add them if needed.

Fonts and uncompressed size are:

Sun-ExtA 22455 Ko Simplified Chinese
Sun-ExtB 17219 Ko Simplified Chinese
UnBatang_0613 6775 Ko Korean
Aegyptus 5705 Ko Hieroglyphs
Jomolhari 2216 Ko Tibetan script
Akkadian 1467 Ko Sumero-Akkadian Cuneiform
XB Riyaz* 4490 Ko Persian, Arabic, Urdu, Pashto, Dari, Uzbek, Kurdish, Uighur, old Turkish (Ottoman) and modern Turkish (Roman)

#5 Updated by Blatti Yves about 3 years ago

  • Priority changed from Normal to Low

Incompatible PHP versions.
Wait till Joomla ups the version

Also available in: Atom PDF