macOS desktop app renders UI text with incorrect font/fallback
Codex macOS desktop app renders UI and code text with incorrect font/fallback
Summary
On macOS 26.4.1, the Codex desktop app renders UI and code text with an abnormal font/fallback. This is visible in both zh-CN and en-US UI. Other apps on the same machine, including VS Code, Terminal, WeChat, and system UI, render text normally.
This appears isolated to the Codex desktop app / Electron renderer font stack rather than a broken system font installation.
Environment
- Codex app: 26.429.61741
- Bundle id: com.openai.codex
- macOS: 26.4.1 (25E253)
- Hardware: MacBook Air, Apple Silicon
- Locale/UI language: zh-CN
- System Chinese font: PingFang SC is installed and visible to CoreText
Visible Symptom
Codex text appears to use an unexpected or degraded font/fallback. The issue is visible even when the Codex UI locale is switched to en-US, so it is not limited to Simplified Chinese text. It is especially noticeable in the new-thread/home UI, permission mode dropdown, and code/terminal-style text.
Other apps on the same machine render comparable English and Chinese text correctly.
Reproduction
- Install and launch the Codex macOS desktop app.
- Use the app in zh-CN locale and observe the font rendering.
- Switch the Codex UI locale to en-US and restart/reopen the app.
- Open the new-thread/home screen, permission mode dropdown, and code/terminal-style views.
- Observe that the abnormal font rendering still appears in English UI/code text.
- Compare with VS Code, Terminal, or native macOS UI on the same machine.
Expected Behavior
Codex should use normal macOS system UI and monospace font resolution, and render both English and Chinese text consistently with other macOS apps.
Actual Behavior
Codex renders UI/code text with an abnormal fallback/appearance. The issue persists after switching the UI locale from zh-CN to en-US. Disabling Codex font smoothing does not fix it.
Diagnostics
CoreText can resolve the expected fonts on this machine:
PingFang SC -> family=PingFang SC, postscript=PingFangSC-Regular
SF Mono -> family=SF Mono, postscript=SFMono-Regular
Menlo -> family=Menlo, postscript=Menlo-Regular
Codex's packaged CSS contains:
--font-sans-default:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
There is no explicit CJK fallback such as PingFang SC, Hiragino Sans GB, or Noto Sans CJK SC. However, the issue is not limited to CJK text; it is also visible in en-US UI/code text.
Local workaround:
- Installing
Noto Sans CJK SC - Setting Codex UI font state to
Noto Sans CJK SC
This makes the UI more readable, but it is not the expected native macOS app appearance and does not explain why the default English/code font rendering is also abnormal.
Additional Notes
This does not appear to be a global machine/font corruption issue because:
- VS Code renders English and Chinese text normally.
- Terminal renders English and Chinese text normally.
- macOS system UI renders English and Chinese text normally.
- CoreText resolves
PingFang SCcorrectly.
The issue seems specific to Codex desktop app font selection/fallback/rendering on macOS, not a global machine font issue.
<img width="330" height="620" alt="Image" src="https://github.com/user-attachments/assets/fa19b683-90ed-4f8e-a41f-8f609b35d8b2" />
<img width="675" height="370" alt="Image" src="https://github.com/user-attachments/assets/20ea9d5d-5991-47ac-8c93-f02696dc9ea1" />
<img width="1050" height="450" alt="Image" src="https://github.com/user-attachments/assets/aec82252-d504-4c6e-9367-5f27670fd807" />
<img width="575" height="310" alt="Image" src="https://github.com/user-attachments/assets/de2183fb-9b29-4c5e-b55a-b46489827165" />
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
The first one is the best one I have ever seen and I love it so much 🥸🌻1️⃣🔟❤️✡️ _I luv Crowder it really is amazing and I'm Zack_
It's not a repetitive problem.
Additional finding / scope correction:
This issue is not limited to the standalone macOS desktop app. I can reproduce the same abnormal font rendering in the Codex VS Code extension panel as well.
Important distinction:
So the likely scope is not the Codex macOS app shell itself, and not a system-wide macOS font problem. The common layer appears to be Codex's shared frontend/webview UI and its font stack / font variables / font smoothing behavior.
More precise hypothesis:
Local observations:
chatgpt.localeOverrideis set.This points more toward a Codex shared webview/frontend font fallback issue than a VS Code or macOS global font issue.
Confirming this on a newer build.
Codex app: 26.521.10419
macOS: 26.5
Apple Silicon, zh-CN UI
Same abnormal/over-bold font rendering in the main thread/conversation area, while the sidebar renders normally. PingFang SC is present and selectable on my machine (PingFangSC-Regular).
Workaround that fully fixes it for me: in Settings → Appearance, set the UI font explicitly to PingFang SC. Once set, the conversation text goes back to a normal weight.
Since explicitly selecting the system font resolves it, this further points to the default --font-sans-default stack (-apple-system, BlinkMacSystemFont, ...) failing to resolve PingFang SC on its own, rather than any missing/broken font on the machine. Would be great to add an explicit CJK fallback (or fix the system-font resolution) in the default stack.
Confirming this regression on the current macOS desktop build.
26.820.60940(build7119)26.5.2(25F84)The font rendering became visibly worse immediately after today's in-app update. Compared with the previously installed build, conversation/UI text now looks less smooth and rounded, less sharp, and subjectively lower-resolution. Other macOS applications still render text normally on the same display.
Troubleshooting/observations:
This looks like a regression in the shared Chromium/webview font rasterization, default font resolution/fallback, or font-weight mapping rather than a macOS display or system-font problem.