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
[Feature Request]: Add font size & font family options (English + CJK) in Desktop GUI #155
Yes. The Desktop GUI has no font customization at all — font size is fixed and there is no way to choose a font. For a coding tool whose UI is dominated by text (conversation, code, diffs, terminals), this hurts readability:
Font size: On high-DPI Windows displays the default size is too small to read comfortably; on some setups it is too large.
Font family: There is no option to pick a preferred font. English UI benefits from monospace/humanist fonts (e.g. Cascadia Code, JetBrains Mono, Inter), while Chinese users often want a specific CJK font (e.g. Microsoft YaHei, Noto Sans SC, Sarasa Mono SC) for mixed Chinese/English text — the default fallback is often inconsistent.
Describe the solution you'd like
Add a Fonts & Size section under Settings → Appearance:
Font size: A slider or numeric input (e.g. 12–24 px) controlling UI font size, with live preview and persistence.
Font family (English): A dropdown of common fonts — e.g. Inter, Segoe UI, JetBrains Mono, Cascadia Code, Fira Code — plus an "custom font family" text field for power users.
Font family (Chinese/CJK): A separate dropdown for CJK fonts — e.g. Microsoft YaHei, PingFang SC (macOS), Noto Sans SC, Sarasa Mono SC — applied via the CSS font-family fallback chain so mixed Chinese/English text renders consistently.
Optional: separate monospace font setting for code blocks / terminal panes (already partially used via Monaco/xterm), so users can match their editor fonts.
The implementation is a lightweight CSS-variables + font-family/font-size mapping in desktop/src/**; no backend change is required.
Describe alternatives you've considered
A single "font size" zoom toggle (Ctrl +/-) — quick win but no font selection.
Letting users edit a CSS override file — flexible but not beginner-friendly.
Additional context
Platform: Windows 11, 2560×1440 display (high-DPI).
VS Code users are used to editor.fontFamily/editor.fontSize; matching this mental model makes adoption easier.
Thanks — implemented across #161 and #162. Settings → Appearance now has font size (11–22px) plus font selection.
A note on how the font part landed, since it took two passes: the first attempt offered free text only, because a fixed dropdown would be guessing at what's installed on your machine. That reasoning was half right — we could simply ask the browser. #162 adds a picker that lists only the fonts actually present on your system, grouped into Interface / Monospace / CJK.
Selecting one adds to the field rather than replacing it, which handles your English/CJK point nicely: list your preferred CJK face alongside a Latin one and mixed text renders through a single consistent fallback. You can still type anything not in the list, and any font you don't have is simply skipped.
Closing this as complete — everything the request asked for is now in main. Thank you @lidao2026-Coding, the English + CJK framing shaped how the font picker works.
Only installed fonts are listed — the picker used to offer every suggested family on every machine, because the browser check it relied on answers "can this text be drawn" rather than "is this font installed". It now asks the system directly, so the list shows only fonts your machine actually has (desktop: list only fonts actually installed, using a local() lookup #239, merged as 9d85e10).
If a font you have installed does not show up in the list, you can still type its name; a new issue with the font name and your OS would help us improve the suggestions.
Activity
feat(desktop): appearance preferences for width, theme and typography
Zongwei9888 commentedon Aug 6, 2026
Thanks — implemented across #161 and #162. Settings → Appearance now has font size (11–22px) plus font selection.
A note on how the font part landed, since it took two passes: the first attempt offered free text only, because a fixed dropdown would be guessing at what's installed on your machine. That reasoning was half right — we could simply ask the browser. #162 adds a picker that lists only the fonts actually present on your system, grouped into Interface / Monospace / CJK.
Selecting one adds to the field rather than replacing it, which handles your English/CJK point nicely: list your preferred CJK face alongside a Latin one and mixed text renders through a single consistent fallback. You can still type anything not in the list, and any font you don't have is simply skipped.
feat(desktop): offer installed fonts alongside the free-text field
fix(desktop): test font presence with a local() lookup, not document.…
Zongwei9888 commentedon Sep 28, 2026
Closing this as complete — everything the request asked for is now in
main. Thank you @lidao2026-Coding, the English + CJK framing shaped how the font picker works.If a font you have installed does not show up in the list, you can still type its name; a new issue with the font name and your OS would help us improve the suggestions.
feat(desktop): let monospace text use its own preferred font