Space between arabic letters when using custom font
-
Hi there,
I’m using “Yekan” font to create pdf file from gravity form entries. when selecting the custom font, the pdf version includes spece between each letter of a word. I saw the link you’d supported someone else, but didn’t know where should I exactly put the code you and what should I replace in the code according to my custom font named “Yekan”.add_filter( 'mpdf_font_data', function( $fonts ) { if ( isset( $fonts['notosans'] ) ) { $fonts['notosans']['useOTL'] = 0xFF; $fonts['notosans']['useKashida'] = 50; } return $fonts; }, 15 );
Regards.
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Space between arabic letters when using custom font’ is closed to new replies.