You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何修复PhpStorm 2019.3.2中波斯语字体不可读及更换字体问题?

Hey there, I’ve run into similar right-to-left (RTL) font rendering issues in older JetBrains IDE versions like PhpStorm 2019.3.2, so let me walk you through exactly how to fix the unreadable Persian/Arabic text and customize your font settings.

Fixing Unreadable Persian/Arabic Fonts in PhpStorm 2019.3.2

Step 1: Switch to a Persian/Arabic-Compatible Primary Font

The most common culprit is PhpStorm’s default font lacking full support for Persian character shaping. Here’s how to swap it out:

  • Open PhpStorm’s Settings: Go to File > Settings (or use shortcuts Ctrl+Alt+S on Windows/Linux, Cmd+, on macOS)
  • Navigate to the Editor > Font section
  • In the Primary font dropdown, pick a font built for Persian/Arabic. Top reliable options include:
    • Vazirmatn (a clean, modern Persian font with excellent RTL rendering)
    • IRANSans (a widely used standard Persian font)
    • Noto Sans Arabic (Google’s open-source font that fully supports all Arabic script languages)
  • If your preferred font isn’t listed, install it via your OS’s font manager first, then restart PhpStorm—it will appear in the dropdown after a reboot.
  • Adjust the Size slider to boost readability, then hit Apply and OK.

Step 2: Enable Bidirectional Text Support

Older PhpStorm versions might have RTL support disabled by default. Let’s turn it on:

  • Stay in Settings, and navigate to Editor > General > Appearance
  • Look for the Enable bidirectional text support option (if you don’t see it here, check Editor > Font > Advanced—labels can vary slightly in 2019.3.2)
  • Check this box to ensure proper alignment and character shaping for Persian/Arabic text
  • Save changes and restart PhpStorm to let the setting take effect.

Step 3: Fix Persian/Arabic Text in the IDE UI

If the problem affects menus, tooltips, or other UI elements (not just the code editor):

  • Go to Appearance & Behavior > Appearance in Settings
  • Under UI Options, select a Persian-compatible font from the UI font dropdown (use the same fonts recommended earlier)
  • Adjust the UI font size if needed, apply changes, and restart PhpStorm.

Quick Troubleshooting Tips

  • If the font doesn’t appear after installation: Always restart PhpStorm—older versions don’t automatically detect new system fonts.
  • If characters are still distorted: Try disabling Ligatures in Editor > Font > Advanced. Some ligature settings can break RTL character rendering in 2019.3.2.
  • Check file-specific overrides: If only certain files have issues, right-click the file in the project pane, go to File Properties > Editor Font, and make sure no custom font (that doesn’t support Persian) is set for that file.

内容的提问来源于stack exchange,提问作者Faraz salehi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.06 17:27:52