Greasy Fork is available in English.
修复 Claude.ai 上中文显示为日文字型的问题,将中文衬线字体(Noto Serif SC / 宋体-简)优先级提升至 Hiragino Sans 之前。
Fix Chinese characters rendering with Japanese glyphs on claude.ai.
Claude.ai's default serif font stack places Hiragino Sans before any Chinese fonts. Since Hiragino Sans includes CJK Unified Ideographs, the browser uses its Japanese glyphs to render Chinese text — resulting in characters that look subtly (or sometimes obviously) wrong to Chinese readers.
Before (Japanese glyphs): 「直」「关」「步」 rendered with Japanese stroke styles
After (Chinese glyphs): 「直」「关」「步」 rendered with proper Chinese stroke styles
This userscript inserts Noto Serif SC and Songti SC (宋体-简) into the --font-anthropic-serif CSS variable, ahead of Hiragino Sans. The browser then matches Chinese characters to a Chinese font first, while Japanese kana still falls through to Hiragino Sans as intended.
Or install directly from GitHub:
The script uses this font stack for serif text:
| Priority | Font | Notes |
|---|---|---|
| 1 | Noto Serif SC | Google's open-source Chinese serif font. Download |
| 2 | Songti SC (宋体-简) | Built into macOS |
| 3 | (original stack) | Hiragino Sans, Yu Gothic, etc. |
For best results, install Noto Serif SC on your system. If not installed, the script falls back to Songti SC on macOS. On other platforms, the original font stack remains as a fallback.