Level 50
Did you added fonts? which will load nepali content? You need have custom fonts to do that. You can check https://stackoverflow.com/questions/12581156/custom-fonts-for-dompdf
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am trying to genetrate pdf for nepali content. I tried to use Dompdf and TCPDF. Nepali characters are not showing properly as half letters are not displayed in rignt manner. I tried freesans, devnagari, and PREETI fonts
Please or to participate in this conversation.