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 text as Blocks when converted to pdf and png in MAC #366

Open
codemechanic95 opened this issue Sep 1, 2022 · 3 comments
Open

Arabic text as Blocks when converted to pdf and png in MAC #366

codemechanic95 opened this issue Sep 1, 2022 · 3 comments

Comments

@codemechanic95
Copy link

test
When run in MAC, The text appears fine in svg, but when converted to pdf or png, the text appears as blocks.
test
test.pdf

But when run on windows, the text is visible.
test2

Is there a way to get it working in MAC, or any dependencies that I'm missing? Any suggestions would help.
Thank you

@liZe
Copy link
Member

liZe commented Sep 4, 2022

Hi!

You probably miss the fonts including the Arabic characters on your Mac. Installing Arabic fonts and using them in your SVG will fix the problem.

@codemechanic95
Copy link
Author

Tried installing the same fonts in Windows on Mac, But still the same issue, all text appear as blocks.

@liZe
Copy link
Member

liZe commented Sep 16, 2022

Tried installing the same fonts in Windows on Mac, But still the same issue, all text appear as blocks.

Then there’s not much I can do for you :/. You could search how Cairo finds fonts on macOS and see why it doesn’t find the ones you installed.

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