GravityPDF / gravity-pdf

Gravity PDF is a GPLv2-licensed WordPress plugin that allows you to automatically generate, email and download PDF documents using Gravity Forms.
https://gravitypdf.com
88 stars 21 forks source link

Re-enable autoScriptToLang and autoLangToFont #812

Open jakejackson1 opened 6 years ago

jakejackson1 commented 6 years ago

To do this, we need to set the appropriate basescript so it doesn't automatically override the "default" fonts used when the language is not English.

https://mpdf.github.io/fonts-languages/choosing-a-configuration-v7-x.html

We will need to work out exactly what languages each of the following scripts represent: https://github.com/mpdf/mpdf/blob/development/src/Ucdn.php#L12-L114

jakejackson1 commented 4 years ago

This issue will be tackled as part of our broader focus on decoupling the fonts from mPDF so that users can install just the font files they need (instead of them all).