dsh-global-fonts: Embedding the Font Usage Table into DSH System Prompts
dsh-global-fonts is a DSH model inference plugin maintained by lt123456b. It encodes CJK and Western font names for five typographic roles—headings, subheadings, body text, bold, and chart annotations—as GDI family names in the system prompt, and prohibits the model from detecting, comparing, or inquiring about fonts. It is tuned around Source Han Sans / SimSun by default; when fonts are not installed, it supports panel notifications, silent mapping, or manual font table overrides. Candidate font sources include the Settings → Fonts panel, environment variables, and the office-fonts index or GDI scan. Primarily designed for Windows and Office typography workflows, it is MIT-licensed and can be installed via the plugin marketplace or by manually linking it in a profile.
Read More