Skip to content

Improve cross-platform Chinese font fallback - #483

Merged
tallcode merged 2 commits into
mainfrom
codex/linux-cjk-font-fallback
Sep 3, 2026
Merged

tallcode merged 2 commits into
mainfrom
codex/linux-cjk-font-fallback

Conversation

@tallcode

@tallcode tallcode commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • synchronize the document language with the active Chinese or English locale
  • prefer platform-native Apple and Windows UI fonts before Linux CJK fallbacks
  • add explicit Simplified Chinese fallbacks for PingFang, Microsoft YaHei, Noto, Source Han Sans, and WenQuanYi Micro Hei

Validation

  • npm run lint (desktop)
  • npm run stylelint (desktop)
  • Prettier check for the changed test and CSS files
  • git diff --cached --check

Full local test suites were not run; GitHub Actions owns test execution.

@tallcode
tallcode enabled auto-merge (squash) September 3, 2026 07:20
@tallcode
tallcode merged commit 82c57f2 into main Sep 3, 2026
12 checks passed
@tallcode
tallcode deleted the codex/linux-cjk-font-fallback branch September 3, 2026 07:24
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.

1 participant