Skip to content

The agent that grows with you

fix(desktop): add CJK fonts to composer input for full-width punctuation

felixdae7393dd560f6f
diff --git a/apps/desktop/src/styles.css b/apps/desktop/src/styles.css
index b5fb2af9655..af59d31e56d 100644
--- a/apps/desktop/src/styles.css
+++ b/apps/desktop/src/styles.css
@@ -1676,6 +1676,9 @@ body.guest-pointer-lock :is(webview, iframe) {
[data-slot='composer-rich-input'] {
unicode-bidi: plaintext;
text-align: start;
+ /* CJK fonts handle full-width punctuation (,。?!…—) before Latin fallback */
+ font-family: "PingFang SC", "PingFang TC", "PingFang HK", "Microsoft YaHei",
+ "Noto Sans CJK SC", "Noto Sans CJK TC", var(--dt-font-sans);
}
/* Appearance → Text direction. An explicit RTL/LTR choice stamps dir on the