mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-18 10:48:00 -05:00
[GH-ISSUE #13785] feat: Add support for Vazirmatn font for Persian and Arabic UI text #71636
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sizadbakhsh on GitHub (May 11, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13785
Check Existing Issues
Problem Description
Currently, the default font used in Open WebUI does not render Persian or Arabic scripts with optimal readability or aesthetics. As a result, the user interface appears less polished for native speakers of these languages, affecting usability and user experience.
Desired Solution you'd like
Please consider including the Vazirmatn font as the default font for content rendered in Persian or Arabic. Vazirmatn is a modern, well-designed, and actively maintained font optimized for readability in these scripts. It’s open source and has good multilingual fallback handling, making it suitable for integration into web-based UIs.
Notably, the Grok chatbot project has recently added support for Vazirmatn, significantly improving the UI for right-to-left language users. It would be a great enhancement if Open WebUI also provided a similar improvement.
Ideally, Open WebUI could either:
Alternatives Considered
Using the browser’s default fallback fonts — but they are inconsistent across platforms and often lack typographic quality for Persian/Arabic.
Custom user CSS injection — not feasible for non-technical users or those running Open WebUI in controlled environments.
Additional Context
GitHub repo for Vazirmatn: https://github.com/rastikerdar/vazirmatn
Google Fonts link: https://fonts.google.com/specimen/Vazirmatn
The font is licensed under SIL Open Font License 1.1, which is compatible with open source projects.
This change would greatly improve accessibility and visual experience for a significant portion of the user base in regions using RTL scripts.
The Grok chatbot UI already includes Vazirmatn for Persian/Arabic, which shows how much of an impact this simple change can have.
@tjbck commented on GitHub (May 11, 2025):
Already implemented with the latest.
@sizadbakhsh commented on GitHub (May 11, 2025):
Thank you for including Vazirmatn in the latest version — it’s a great step forward!
However, I’ve tested the current implementation and noticed a couple of important points:
@tjbck commented on GitHub (May 11, 2025):
4c06683e95might've addressed your concern, testing wanted here.@sizadbakhsh commented on GitHub (May 11, 2025):
Confirmed! The fix in
4c06683works for me. Thank you!