Support changing font family in IDE Extension
What version of the IDE extension are you using?
26.311.21342
What subscription do you have?
Business
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
The Codex VSCode extension currently appears to use --vscode-font-family for its UI instead of the chat-specific font variable --vscode-chat-font-family.
VSCode provides a dedicated setting:
chat.fontFamily
which is exposed to extensions via the CSS variable:
--vscode-chat-font-family
This variable is used by the built-in Chat UI and by several other chat-based extensions so that users can customize the font used in chat interfaces without affecting the rest of the workbench.
However, the Codex extension seems to rely on --vscode-font-family, and in some cases the variable is redefined inside the webview, which prevents users from customizing the chat font consistently.
What steps can reproduce the bug?
The Codex UI ignores chat.fontFamily, causing the chat interface to use a different font from the rest of the VSCode chat ecosystem.
More specifically, Codex will display Chinese characters incorrectly. This is because the default Segoe UI font will interpret Chinese characters as Japanese or other fonts.
<img width="1585" height="1040" alt="Image" src="https://github.com/user-attachments/assets/85d7d81c-2909-48e3-8fbf-20f89716aab0" />
What is the expected behavior?
Follow the correct font settings, just like Claude Code:
<img width="1586" height="1040" alt="Image" src="https://github.com/user-attachments/assets/e1234437-14a7-42d8-8adb-d7f3e1363576" />
Additional information
_No response_
3 Comments
The Codex extension doesn't currently support modification of the font family. It does support control over the font size. See this explanation for details.
I will change this from a bug report to a feature request, and we'll see if other users upvote it.
@etraut-openai Thanks for the clarification.
My point is not that Codex needs to add a new font setting. VSCode already provides a built-in chat font configuration via
chat.fontFamily, exposed to extensions through the CSS variable--vscode-chat-font-family.Other chat extensions such as Claude Code and Copilot respect this setting automatically. Currently Codex seems to rely on
--vscode-font-family, so the chat font cannot be customized consistently.It would be great if Codex could follow
--vscode-chat-font-familyto align with VSCode's existing chat UI conventions.Yes this would be great