Supporting Arabic fonts

Created on 13 October 2020, over 4 years ago
Updated 26 September 2023, over 1 year ago

Problem/Motivation

When I supplied the Arabic words, the resulting pdf containing square boxes instead of those fonts.

📌 Task
Status

Fixed

Component

Code

Created by

🇯🇴Jordan mahseri

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇯🇴Jordan bassam

    It would be great if you could give us the option to set "autoLangToFont" through hook_mpdf_config_alter.

    I'm facing some issues with rendering PDF files with more than one language. I had to set the value to FALSE in order for the fonts to work.

  • 🇧🇪Belgium weseze

    I've moved the options from fixed hardcoded to the mpdf config array so you can change them in the alter hook. Available in release 2.0.5.

Production build 0.71.5 2024