DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

FukeWang /

FukeWang/dsh-xp-pixel-font

已验证

Bundles a 12px pixel font for the XP Luna theme so the XP text look is consistent across platforms.

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub项目主页
README来源: main@b80bdedc

XP pixel font

Keeps the Windows XP text look identical on Windows, macOS and Linux by bundling a real 12 px pixel font and using it only while the XP Luna theme is active.

XP UI with the bundled pixel font

Why

The XP Luna theme does not ship a font; it prepends system font names (Tahoma, SimSun, WenQuanYi Zen Hei Sharp, ...) to the host text stack. Linux often lands on a bitmap face, but Windows has Tahoma and SimSun and Edge renders them with ClearType outlines, so the text looks smooth and modern there. This plugin removes that dependency on installed fonts.

What it does

  • Bundles Fusion Pixel 12px Proportional (SIL OFL 1.1) and serves it from /plugin/xp-pixel-font/font.woff2.
  • Injects an @font-face and puts that face first in --dsh-font-family-text while the XP Luna theme's <style data-xp-luna> element is present.
  • When the theme is disabled, or the host switches to dark mode (the theme removes its stylesheet), the override and the font face disappear immediately. Other themes are never affected.
  • Code blocks and the terminal keep their own font variables.

Install

dsh plugin --profile web add dsh-xp-pixel-font

Requires the XP Luna theme plugin to be installed and active. The override is gated on that theme's style marker, so this plugin does nothing without it.

Font license

Fusion Pixel Font, Copyright (c) 2022 TakWolf (https://takwolf.com), SIL Open Font License 1.1. The full license ships as LICENSE-OFL.txt and is served at /plugin/xp-pixel-font/license. The code of this plugin is MIT.

Limits

  • The face is designed on a 12 px grid; other sizes still look pixel-styled but only exact 12 px stays perfectly crisp.
  • Windows fractional display scaling (125%/150%) softens pixel edges; 100% scaling is crispest.
—/ 5

暂无评分

已验证 DSH bundle

Commit b80bdedc1405

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于