cancel
Showing results for 
Search instead for 
Did you mean: 

Magento2 Add pdf font for pdf invoice without change vendor

Magento2 Add pdf font for pdf invoice without change vendor

hi everyone

Is there any way to add new pdf font without change code in vendor ? i tried override modal but it didn't work. 

Intruction link for adding pdf font : https://magento.stackexchange.com/questions/117659/adding-new-fonts-to-pdf-invoice-magento-2

I followed this link to try override modal:

https://magenticians.com/override-model-magento-2/

2 REPLIES 2

Re: Magento2 Add pdf font for pdf invoice without change vendor

Hi @BinhXuanNguyen,

 

First link is about a plugin implementation. Didn't worked?

All the references to Vendor/Module should be read as YourCompany/YourModuleName.

Re: Magento2 Add pdf font for pdf invoice without change vendor

Thank you for your reply @Damian Culotta, I tried to follow the first link and it didn't work instead it showed me this error

Screenshot from 2018-06-04 16-10-01.png