Users of our plugin with an active license (any user that has purchased either our Professional or Premium Templates extension) can send us an email at support@wpovernight.com in order to receive this extension. With this extension, there is no need to fiddle with code in regards to installing custom fonts for your PDF documents.

Install this extension like any other plugin, then you will notice the new ‘Custom font‘ tab at WooCommerce > PDF Invoices.

From this tab, you can select the fonts you want for you PDF:

Clicking ‘Select’ opens up the WordPress Media manager.
From here, select the font you have saved to your system/computer.

The Cairo font – a Latin + RTL language Google font – has been selected as our example. Here, the ‘Regular‘ version of the font file is used for immediate results (Cairo-Regular.ttf).


Remember to save your changes!
Now, the Result on PDF – with the selected font now active:

Before — Without the Custom font selected:

The post Custom Font extension (for active license users) appeared first on WP Overnight Documentation.