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

Arabic contents in PDFs generated from HTML #45

Open
muesmat opened this issue Jun 12, 2022 · 1 comment
Open

Arabic contents in PDFs generated from HTML #45

muesmat opened this issue Jun 12, 2022 · 1 comment

Comments

@muesmat
Copy link

muesmat commented Jun 12, 2022

I am using the library in my android app since first release on March 2021. the generation from HTML with arabic contents was fine in first release. but when I published new release this month with new build, some devices running Android 11 especially OPPO phones (not all) fails to render arabic contents in the PDFs (it was working before but fails in the new release). I tried to embed fonts (attach the base64 string in the css) that support arabic in the HTML but with no luck.

Could you please help.

@muesmat muesmat changed the title Arabic contnets in PDF generated from HTML Arabic contents in PDFs generated from HTML Jun 12, 2022
@tejpratap46
Copy link
Owner

tejpratap46 commented Jun 15, 2022

Can you provide the html file?

Also try opening that html from your file explorer (on phone which as issue.)

If your phone webview cannot render the html, then this library won't be able to generate proper PDF.

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

No branches or pull requests

2 participants