Request a quote - How to add Hebrew Font for Quote PDF

To add Hebrew Font for Quote PDF you should follow this 2 simple step:
 
1. add the content of the font.zip inside the folder wp-content/plugins/yith-woocommerce-request-a-quote-premium/lib/dompdf/lib/fonts
 
2. paste this code in the functions.php of your theme.
 
if ( defined( 'YITH_YWRAQ_PREMIUM' ) ) {
add_filter('pdf_font_family', 'pdf_font_family');
function pdf_font_family( $font ){
return '"alef", '.$font;
}
}
Was this article helpful?
0 out of 0 found this helpful

Back to Help Center

Powered by Zendesk