Kozea / Kozea/CairoSVG

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

Open
#366 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
951
Forks
166
PR merge metrics
No merged PRs in 30d

Description

![test](https://user-images.githubusercontent.com/112622718/187888326-5b2bf22f-f972-42b2-bd4c-1d46784d9fa5.svg)
When run in MAC, The text appears fine in svg, but when converted to pdf or png, the text appears as blocks.
![test](https://user-images.githubusercontent.com/112622718/187888764-ae2bbd41-df53-4a76-bffe-bb6347d0f367.png)
[test.pdf](https://github.com/Kozea/CairoSVG/files/9468909/test.pdf)

But when run on windows, the text is visible.
![test2](https://user-images.githubusercontent.com/112622718/187890961-b4ff04ac-848f-4c92-bb35-8a702aae3151.png)

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached test SVG and compare CairoSVG's PDF and PNG conversion on macOS with the working Windows output. Investigate the platform-specific rendering or dependency difference, and consider the issue resolved when Arabic text renders correctly in both PDF and PNG output on macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.