Sarasa-Gothic-Font-Substitution-Tool

zozovo
2023-03-31T15:13:04Z

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

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 icon fonts problem.

2.4 Fix to keep monospace when in 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

be5invis

blackgear/userstyle.styl by blackgear

全局思源黑体 by francis-zhao

Maidong Hu

Lynt Nyan

竹中重治

Leoyzen