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 font fallback not working on linux #174

Open
richardhozak opened this issue Nov 16, 2024 · 2 comments
Open

Arabic font fallback not working on linux #174

richardhozak opened this issue Nov 16, 2024 · 2 comments

Comments

@richardhozak
Copy link

Hello, I wanted to test out this library, so I've run the swash_render example on my system and the font fallback for arabic text does not work as expected.

Here is rendered swash_output.png from the example:
swash_render

Is there anything I can test to debug this issue?

@richardhozak richardhozak changed the title Arabic font fallback not working Arabic font fallback not working on linux Nov 17, 2024
@xorgy
Copy link
Member

xorgy commented Nov 17, 2024

Welcome, @richardhozak. If you could be a little more specific that'd be helpful. This will depend on which fonts you have installed, and how your FontConfig is set up. Which distro are you on, and which version of that distro?
Also, does Arabic text normally display on your system, but not in this example?

@richardhozak
Copy link
Author

richardhozak commented Nov 18, 2024

I am on PopOS 22.04 I have not messed with FontConfig so it should be in default configuration. Arabic text renders in Firefox and I've also tested cosmic text, which also works FWIW. I looked into installed fonts and can see that there are arabic variants that are chosen in Firefox.

I've also tested swash_render example on Ubuntu 24.04 and it works there, I am not sure what could be different between those two systems.

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