Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hindi / Devanagari Fonts not rendering properly in DOMPDF #2855

Closed
swapnilraja1212 opened this issue Apr 14, 2022 · 3 comments
Closed

Hindi / Devanagari Fonts not rendering properly in DOMPDF #2855

swapnilraja1212 opened this issue Apr 14, 2022 · 3 comments

Comments

@swapnilraja1212
Copy link

I have included online google hindi / devanagari fonts in my DOMPDF. Font are being called but text are not rendering properly.

Corrent Word: अंतरिक्ष यान से दूर नीचे पृथ्वी शानदार ढंग से जगमगा रही थी ।

Font rendered in PDF:
error_font

Please somebody help!

@bsweeney
Copy link
Member

Dompdf does not yet support complex text layout operations (#2619). You'll need to run your text through a pre-processor prior to rendering. Unfortunately I haven't really had a chance to delve into this enough to provide guidance. There's a library that works well for Arabic but I don't know of any for Devanagari.

@mehtamanoj
Copy link

I have included online google hindi / devanagari fonts in my DOMPDF. Font are being called but text are not rendering properly.

Corrent Word: अंतरिक्ष यान से दूर नीचे पृथ्वी शानदार ढंग से जगमगा रही थी ।

Font rendered in PDF: error_font

Please somebody help!

@swapnilraja1212 have you fixed this?
I have the same problem

@swapnilraja1212
Copy link
Author

@mehtamanoj There are some limitations in dompdf. I have used mpdf and it's better than dompdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants