magetrend / tcpdf-font
Change fonts directory
Installs: 369
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
This package is not auto-updated.
Last update: 2025-05-13 02:08:16 UTC
README
This script is for PDF Invoice for Magento 2 extension: https://www.magetrend.com/magento-2-pdf-invoice
The script should be installed if:
- tcpdf processor is used
- printing PDFs isn't working
- and there is similar error message: Unable to generate PDF :( Warning: fopen(file:////***/vendor/tecnickcom/tcpdf/fonts/arial.z): failed to open stream: Read-Only filesystem
To install this script, run the following magento commands:
composer require magetrend/tcpdf-font
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static-content:deploy;
After installation, there is need to create a directory: MAGENTO_DIR/pub/media/tcpdf/ And you need to copy all the fonts from: MAGENTO_DIR/vendor/tecnickcom/tcpdf/fonts/ to MAGENTO_DIR/pub/media/tcpdf/fonts/ This directory has to be writtable.