Skip to content

A full-featured download manager.

fix(windows): use native japanese and korean font fallbacks (#2228)

Dr_rOot090f2e8380dd
diff --git a/src/renderer/styles/globals.css b/src/renderer/styles/globals.css
index 8ec835b0..07384297 100644
--- a/src/renderer/styles/globals.css
+++ b/src/renderer/styles/globals.css
@@ -167,8 +167,8 @@
/*
* Inter intentionally has no CJK glyphs. Prefer each platform's native UI
- * face for the active Chinese locale, following the same platform + :lang()
- * model used by VS Code. The non-UI Windows aliases cover family-name
+ * face for the active CJK locale, following the same platform + :lang()
+ * model used by VS Code. The non-UI Windows Chinese aliases cover family-name
* variations while resolving to the same system font files.
*/
:root.platform-win32:lang(zh-CN) {
@@ -183,6 +183,18 @@
sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
+:root.platform-win32:lang(ja) {
+ --app-font-sans:
+ "Inter Variable", "Yu Gothic UI", "Segoe UI", sans-serif, "Segoe UI Emoji",
+ "Segoe UI Symbol";
+}
+
+:root.platform-win32:lang(ko) {
+ --app-font-sans:
+ "Inter Variable", "Malgun Gothic", "Segoe UI", sans-serif, "Segoe UI Emoji",
+ "Segoe UI Symbol";
+}
+
:root.platform-darwin:lang(zh-CN) {
--app-font-sans:
"Inter Variable", "PingFang SC", "Hiragino Sans GB", -apple-system,