[GH-ISSUE #13627] feat: Change the UI font for Persian and Arabic languages #103970

Closed
opened 2026-05-18 01:37:13 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @merrime-n on GitHub (May 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13627

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Currently, the font used for Persian and Arabic languages lacks readability and is sometimes hard to differentiate between similar letters and digits.

Desired Solution you'd like

My recommended solution is the font that is widely being used for Persian across the web. Github itself and Telegram use this open-source font for Persian typography. It's good-looking and readable. It's also a Google-valid font and is called Vazirmatn.

I have changed the UI font for Persian language to Vazirmatn and it looks like this:

Image
Image

Alternatives Considered

No response

Additional Context

I'd be eager to contribute. Here's what I have done to achieve this:

<!-- app.html --> 
<head>
<link rel="stylesheet"
      href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css">
</head>

And:

/* app.css */
* {
font-family: 'Vazirmatn', sans-serif !important; /* Apply Vazirmatn, with fallback */
  }

It affects the non-Persian strings as well but they look good.

Originally created by @merrime-n on GitHub (May 7, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13627 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description Currently, the font used for Persian and Arabic languages lacks readability and is sometimes hard to differentiate between similar letters and digits. ### Desired Solution you'd like My recommended solution is the font that is widely being used for Persian across the web. **Github** itself and **Telegram** use this open-source font for Persian typography. It's good-looking and readable. It's also a Google-valid font and is called [Vazirmatn](https://github.com/rastikerdar/vazirmatn). I have changed the UI font for Persian language to Vazirmatn and it looks like this: ![Image](https://github.com/user-attachments/assets/37855a45-0fba-4e9d-b33a-adc7d9883ebe) ![Image](https://github.com/user-attachments/assets/10d697c6-8660-47ad-8671-3c9621fe143c) ### Alternatives Considered _No response_ ### Additional Context I'd be eager to contribute. Here's what I have done to achieve this: ```html <!-- app.html --> <head> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css"> </head> ``` And: ```css /* app.css */ * { font-family: 'Vazirmatn', sans-serif !important; /* Apply Vazirmatn, with fallback */ } ``` It affects the non-Persian strings as well but they look good.
Author
Owner

@mhasgari commented on GitHub (May 7, 2025):

This feature request is a great idea that would provide an enormous impact on the user experience for a significant portion of Open-WebUI global user base.
Employing a more suitable UI font for Persian and Arabic languages has some substantial benefits.
Having this feature implemented would be a great step towards making Open WebUI even more accessible and international. We hope the dev team can prioritize this improvement. The impact on Persian and Arabic readers would be immediate and most welcome.

Thank you, @okaeiz, for proposing this useful improvement!

<!-- gh-comment-id:2858275656 --> @mhasgari commented on GitHub (May 7, 2025): This feature request is a great idea that would provide an enormous impact on the user experience for a significant portion of Open-WebUI global user base. Employing a more suitable UI font for Persian and Arabic languages has some substantial benefits. Having this feature implemented would be a great step towards making Open WebUI even more accessible and international. We hope the dev team can prioritize this improvement. The impact on Persian and Arabic readers would be immediate and most welcome. Thank you, @okaeiz, for proposing this useful improvement!
Author
Owner

@tjbck commented on GitHub (May 7, 2025):

Great suggestion, added with 0f40cb0de4 in dev!

<!-- gh-comment-id:2859821028 --> @tjbck commented on GitHub (May 7, 2025): Great suggestion, added with 0f40cb0de40548c15dc46ca4330f58f3fb21fae3 in dev!
Author
Owner

@merrime-n commented on GitHub (May 11, 2025):

Thanks for your response, @tjbck . Is this feature available on the latest tagged version right now? I just got ghcr.io/open-webui/open-webui:latest but the font was not changed. So I assume it's in dev right?

<!-- gh-comment-id:2869407126 --> @merrime-n commented on GitHub (May 11, 2025): Thanks for your response, @tjbck . Is this feature available on the latest tagged version right now? I just got `ghcr.io/open-webui/open-webui:latest` but the font was not changed. So I assume it's in `dev` right?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#103970