Arabic text not working properly in raylib 6 (shows question marks / broken characters) — font issue or missing Unicode support?

Hi everyone,

I'm trying to display Arabic text in raylib 6 on Linux, but I'm running into an issue where the text either:

  • shows as question marks (????)
  • or appears as broken / missing characters

I’m using a TTF font (like Amiri / Noto Naskh Arabic), but it still doesn’t render correctly.

From what I understand, this might be related to:

  • missing Unicode glyph ranges when loading fonts
  • raylib not fully handling Arabic shaping or RTL text
  • possibly needing LoadFontEx instead of LoadFont

Has anyone successfully rendered Arabic text in raylib 6?
What’s the correct way to handle font loading for non-Latin scripts?

Any help or examples would be appreciated 🙏

https://preview.redd.it/zw3jvnf087xg1.png?width=1920&format=png&auto=webp&s=55f919088e39387d8e1338c384f07263fd99c372

Posted Apr 24, 2026, 8:33 PM UTC

42
Loading comments…