Skip to content

[FEATURE]: Support configurable font fallback stacks in Desktop settings #48259

Open

Description

@siuyutpang

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

OpenCode Desktop currently allows users to configure one custom font for each of the following settings:

  • UI font
  • Code font
  • Terminal font

However, each setting only accepts a single font family. It is not currently possible to specify an ordered fallback font stack.

For example, I would like to use:

  • Iosevka for Latin and programming characters
  • LXGW WenKai Mono for Chinese characters
  • the system monospace font as the final fallback

The desired font stack would be:

font-family: "Iosevka", "LXGW WenKai Mono", ui-monospace, monospace;

Entering the following value does not work:

Iosevka, LXGW WenKai Mono

Activity

  1. kimmywork commented on Sep 14, 2026

    @kimmywork

    +1 to this feature.

    Now I can only see mixed serif latin font and sans-serif CJKV font. It's really confusing.

  2. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the clear request! You'd like the Desktop UI font, Code font and Terminal font settings to accept an ordered fallback list, e.g. Iosevka, LXGW WenKai Mono. That way each character uses the first listed font that has it, before falling back to the system monospace font. This matters especially for mixing Latin programming fonts with CJK fonts.

    Right now each setting is designed to take one font family. The whole value is wrapped in quotes as a single name, which is why a comma-separated list doesn't work. The built-in defaults are still added after it, which is why you end up with the default fonts.

    I've marked this as a feature request for the maintainers to consider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions