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

Show Font Installation Status in the Manager #146

Open jakejackson1 opened 8 years ago

jakejackson1 commented 8 years ago

First present in issue #139, this problem occurs if a font gets deleted from the PDF_EXTENDED_TEMPLATES/fonts/ directory. Then mPDF throws warnings about not being able to find the font and the PDF doesn't get generated.

We should put safe guards in place to limit this behaviour. That can be done by:

  1. Checking each font file has been correctly installed every time the font manager is opened
  2. If it's not currently installed the font manager should automatically attempt to reinstall it
  3. If it is unsuccessful reinstalling the font it will show an error icon

It would consume too much resources to run this check on every page load so limit to the PDF -> Settings -> Tools section.

jakejackson1 commented 4 years ago

I've tagged this in 6.0 because we're redesigning the font manager, but depending on time we may need to move this to a later release.

jakejackson1 commented 4 years ago

I'm going to bump this from 6.0. We can iterate on the Font Manager as we go.