DSH Plugin MarketA community catalog for DeepSeek Harness plugins

dsh-font-probe

Verified Interface & experience ★ 26 2.1.0

DeepSeek Harness font plugin: CJK/Latin/code font families plus font weights, letter-spacing, line-height, paragraph spacing and first-line indent. Font sizes are left to the official Appearance settings.

What it is

DeepSeek Harness font plugin: CJK/Latin/code font families plus font weights, letter-spacing, line-height, paragraph spacing and first-line indent. Font sizes are left to the official Appearance settings.

How to install

Run this in the DSH web profile, then refresh the page.

$ dsh plugin --profile web add dsh-font-probe@2.1.0

DSH versions accepted

Undeclared

Author and traction

lohana20061023-29 · ★ 26 · Updated 2026-10-24

About this plugin

dsh-font-probe

给 DeepSeek Harness 的 Web 界面换字体、调排版,全程在设置里点,不动 app.asar。

中英文字体分开设、界面与标题字重可调、字距行距段距首行缩进四根滑块,

改完先在吸底总预览里看准,再一键确认 —— 配置写回 profile,重启不丢。

> 字号不在这里:官方从 v0.2.1-alpha.2 起已在「设置 → 通用 → 外观」提供

> 正文字号 / 代码字号 / 终端字号。本插件只补官方没有的部分。

> 中文优先。English readers: see [English](#english) at the bottom.

---

为什么需要它

DSH 官方已有配色方案、字号(正文字号 / 代码字号 / 终端字号)和字体族输入框,

但字体只能手输名称,也没有字重和排版控制。

想换字体,直觉做法是改 app.asar 里的 CSS —— 但那是应用本体,

每次升级都会被覆盖,而且改坏了很难还原。

这个插件走 Cordis 的客户端插件通道,用公开的 styles.insert() 注入样式,

只覆盖 CSS 自定义属性,不修改任何应用文件,因此:

  • 升级 DSH 不会丢设置
  • 卸载插件即完全还原
  • 配置存在 profile 里,可携带、可版本控制

功能

| | 能力 |

|---|---|

| 中文字体 | 汉字独立设族名。点名称展开预设,其它族走「浏览本机字体…」 |

| 英文字体 | 只作用于拉丁字母与数字,汉字仍用中文字体。留空则不区分 |

| 代码字体 | 代码块 / 终端 / 行号的等宽字体,同样可浏览本机字体 |

| 界面字重 / 标题字重 | 同一行左右并排。界面字重管 body 与正文段落,标题字重只影响 Markdown 标题;标题留空则跟随界面 |

| 字距 | 滑块 0–3px |

| 行距 | 滑块 0–12px,在应用自身行高之上叠加,不是替换 |

| 段距 | 滑块 0–24px,段落之间 |

| 首行缩进 | 滑块 0–4em,随字号缩放 |

| 总预览 | 吸底卡片,字体 / 字重 / 字距 / 行距 / 段距 / 缩进 / 代码样张一起实时预览(含标题样张) |

| 预览可伸缩 | 上缘拖动条调高度(80–560px),标题行可整块隐藏;偏好记在本地 |

| 缺字体可下载 | 展开预设时自动检测本机是否安装,缺的显示「下载」直达官方页 |

| 确认制 | 所有改动先进草稿,点「确认应用」才生效并落盘 |

| 恢复默认 | 一键清空草稿(仍需确认才生效) |

全部设置在 设置 → 文字显示设置。

截图

深色主题下的完整设置页:中英文字体各自独立、代码字体同样可浏览本机字体,

底部是吸底的总预览与确认栏。(此图为 1.x,已含后来移除的字号栏)

两个版本

| 包 | 内容 | 适合谁 |

|---|---|---|

| dsh-font-probe(本仓库) | 字体族(中/英/代码)+ 字重 + 排版 | 想要浏览本机字体、中文英文分开设 |

| dsh-font-probe-lite([lite/](./lite)) | 只有字重 + 排版 | 已经用官方「外观」管字体和字号,只缺字重与排版 |

两者设置命名空间不同,可以共存:主包管字体,轻量版管字重与排版。

dsh plugin --profile desktop add dsh-font-probe        # 完整版
dsh plugin --profile desktop add dsh-font-probe-lite   # 轻量版

中文预设

字体列表里内置了 15 条预设,其中 8 条中文:霞鹜文楷系列(原名 / 屏幕阅读版 / GB)、

月星楷、香萃等粗宋、方正魏碑、方正粗金陵、方正行楷。

一个预设可以匹配多个真实族名(中文名、英文名、简体后缀)——只要装了其中一个,

就判定为已安装;写入时会把全部别名一起放进字体栈,由浏览器挑实际装了的那个。

下载链接只挂官方页:霞鹜文楷三款、月星楷、香萃等粗宋都指向各自的 GitHub 仓库

(开源),方正三款指向方正字库官方检索页(商用需授权)。

安装

一条命令,不需要 git:

dsh plugin --profile desktop add dsh-font-probe

装完重启应用(托盘右键 → 退出应用 → 重新打开),

侧栏「设置」里就会出现「文字显示设置」。

Compare in this category

The five most-starred plugins in the same category.

PluginAuthor StarsVersionUpdated
open-design nexu-io 106.9K 0.25.1 2026-11-10
huashu-design alchaincyf 29.1K 3.3.0 2026-11-10
dsh-web zhu1090093659 10.3K 0.0.1 2026-11-10
baoyu-design JimLiu 6.3K 2.12.2 2026-11-10
dsh-wallpaper-engine elysia395 6.3K 1.4.2 2026-11-10