Sarasa-Gothic-Font-Substitution-Tool

Replace the font with Sarasa Gothic (CJK) and the corresponding monospaced one.

Author
zozovo
Daily installs
3
Total installs
493
Ratings
1 0 0
Version
8.9
Created
2023-03-31
Updated
2024-08-23
License
MIT
Applies to
All sites

Readme

Replace the font with Sarasa Gothic (CJK) and the corresponding monospaced one.

将字体替换为更纱黑体(中日韩)和对应的等宽字体。

將字體替換為更紗黑體(中日韓)和對應的等寬字體。

フォントを更紗ゴシック(中日韓)および対応する等幅フォントに置き換えます。

글꼴을사라사고딕(중일한)및해당등폭글꼴로대체합니다.

Usage

  • Get and install Sarasa Gothic fonts.
    • Sarasa UI SC/TC/HC/J/K for generic
    • Sarasa Fixed SC/TC/HC/J/K for monospace
  • Chrome / Edge / Firefox Version > 112
  • Install Tampermonkey / Violentmonkey Extension
  • Install this userscript

Changelog

  • 8.0 Set default Sarasa Gothic Regional orthography according to browser language.
  • 7.0 Introduce CSS Nesting.
  • 6.5 Rebuilt, for preparing CSS Nesting. (Chrome > 112)
  • 6.4 Add @font-face to replace Consolas and Courier New to hack monaco-editor.[Need Help!😥]
  • 6.2 Introduce css var().
  • 6.1 Refine meta info.
  • 6.0 Temporarily disable Sarasa MONOs in all monaco-editors. 👿
  • 5.9 Introduce U+200C(ZWNJ) and U+200D(ZWJ):🧜+ZWJ+♂ =🧜‍♂️
  • 5.8 Introduce [aria-hidden=true] hack to fix some icon fonts problem.
  • 5.7 Introduce [class^=fa] to fix font-awesome problem.
  • 5.0 CSS Selectors Level 4 Draft.
  • 4.2 Recount CSS specificity (2-0-0)/(2-1-0)/(2-1-1).
  • 4.1 Introduce #_#_ to increase specificity.
  • 4.0 Support Color Emojis. ❤️😉
  • 3.2 Introduce :is() and recount CSS specificity (0-0-2)/(0-1-1)/(0-1-2).
  • 3.1 Recount CSS specificity to avoid any !important.
  • 3.0 Fix <i> icon fonts problem.
  • 2.4 Fix to keep monospace when <span> in <pre> elements.
  • 2.3 Update Sarasa Gothic font family name.
  • 2.2 support non-modern HTML, but less selectively.
  • 2.0 Turn expressions with strings into templates.
  • 1.0 Initial

Thanks