You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support changing font family in IDE Extension #14738
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.
What is the expected behavior?
Follow the correct font settings, just like Claude Code:
Additional information
No response
Reacted by Alisher A. Khassanov, zLeoAlex, Loc Quan, Daniel Daza, Kim Noer, Aleksei Zolotov and Julio César
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.
changed the title [-]VSCode extension does not respect chat.fontFamily / --vscode-chat-font-family[/-][+]Support changing font family in IDE Extension[/+]on Mar 15, 2026
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-family to align with VSCode's existing chat UI conventions.
Following up on my earlier comment: I’m still seeing this in 26.51007.21434, using VS Code with WSL. My chat.fontFamily is set to 'Google Sans Flex 9pt 9pt'. Claude picks it up, but Codex keeps the default UI font.
I saw the clarification that font-family customization isn’t supported yet. Is support for VS Code’s existing chat font setting being considered?
Activity
etraut-openai commentedon Mar 15, 2026
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.
[-]VSCode extension does not respect chat.fontFamily / --vscode-chat-font-family[/-][+]Support changing font family in IDE Extension[/+]PMExtra commentedon Mar 15, 2026
@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.Bluesky0094 commentedon Mar 20, 2026
Yes this would be great
Naz-Ovh commentedon Sep 6, 2026
Claude vscode extension already support this after a lots of discussion, every extension should support this.
Naz-Ovh commentedon Oct 11, 2026
Following up on my earlier comment: I’m still seeing this in 26.51007.21434, using VS Code with WSL. My
chat.fontFamilyis set to'Google Sans Flex 9pt 9pt'. Claude picks it up, but Codex keeps the default UI font.I saw the clarification that font-family customization isn’t supported yet. Is support for VS Code’s existing chat font setting being considered?