Skip to content

Fix inconsistencies in Persian font rendering#5768

Open
samanshirdel wants to merge 1 commit into
basecamp:masterfrom
samanshirdel:fix/font-rendering
Open

Fix inconsistencies in Persian font rendering#5768
samanshirdel wants to merge 1 commit into
basecamp:masterfrom
samanshirdel:fix/font-rendering

Conversation

@samanshirdel
Copy link
Copy Markdown

Persian text appeared stretched and visually inconsistent, making it hard to read. This change improves the rendering and overall appearance.

Copilot AI review requested due to automatic review settings May 11, 2026 16:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project’s Fontconfig defaults to improve Persian/Arabic script font fallback so text renders with more consistent glyph shaping and avoids poor fallback fonts.

Changes:

  • Add Noto Sans Arabic as an additional fallback for the sans-serif family.
  • Add Noto Sans Arabic as an additional fallback for the monospace family.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

</test>
<edit name="family" mode="assign" binding="strong">
<string>JetBrainsMono Nerd Font</string>
<string>Noto Sans Arabic</string>
Comment on lines 8 to 11
<edit name="family" mode="assign" binding="strong">
<string>Liberation Sans</string>
<string>Noto Sans Arabic</string>
</edit>
@samanshirdel samanshirdel changed the base branch from master to dev May 11, 2026 19:23
@samanshirdel samanshirdel changed the base branch from dev to master May 11, 2026 20:08
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

Successfully merging this pull request may close these issues.

2 participants