TableRogue
dsh-fusion-pixel-font
用 Fusion Pixel 12px 像素字体替换 DeepSeek Harness GUI 界面与代码字体
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 16, 2026
- Updated
- Aug 16, 2026
Introduction
dsh-fusion-pixel-font
用 Fusion Pixel 12px 简体中文 像素字体替换 DeepSeek Harness Web GUI 的界面字体与代码字体。
用处
- 全 GUI 界面文字(
--dsw-font-family)与代码文字(--ds-font-family-code)切换为 Fusion Pixel 12px 像素字体。 - 字体由插件自身(Host 半)同源托管,无需外网 CDN。
- 保留系统字体回退,加载失败不影响使用。
安装(每次启动自动加载)
# 本地 checkout
dsh plugin --profile web add ./dsh-fusion-pixel-font
# 或从 GitHub(纯 JS,无构建步骤)
dsh plugin --profile web add github:TableRogue/dsh-fusion-pixel-font
安装后自动追加进 profile 的 dsh.profile.bundles,启动 dsh --profile web 即生效,无需重建 Web 产物。验证 / 卸载:
dsh --profile web --dump-config # 应看到 # == dsh-fusion-pixel-font 层
dsh plugin --profile web remove dsh-fusion-pixel-font
临时方式(动态插件,单次进程):把 src/client.js 头注释以下的内容填入 cordis_define 的 code.client 并 cordis_run,详见文件头注释。
文件
index.js— Host 半:读取assets/字体字节并注册同源 webServer 路由。src/client.js— 动态插件源码(文档参考)。lib/client.js— 发布 bundle(client-modules 加载)。assets/— Fusion Pixel 12px 简体中文字体文件(OFL 许可,来源见上)。cordis.patch.yml— profile 组合补丁行。
License
MIT © 2026 TableRogue