替换字体的中文部分为雅黑
ID
enpkigfhoabjjjonanmddidnnahopmcnReplace the Chinese portions of fonts with Microsoft YaHei.
螢幕截圖
詳細介紹
Replace the Chinese portions of fonts with Microsoft YaHei.
Following the Chrome 62 update, bold text in the previous version was replaced with regular-weight text. If the bold portions are excluded, some fonts appear blurry. I think Chrome is mishandling fonts, but there is nothing I can do. For now, the only option is to accept the blurry fonts. I hope someone can help find a solution.
Open-source code:
https://github.com/scarsty/FontChineseYahei
This extension replaces the Chinese portions of fonts with Microsoft YaHei, for users who only want to replace SimSun and SimHei with Microsoft YaHei. When using it, please also set Chrome's default font to Microsoft YaHei or Segoe UI.
The extension also replaces the English portions of some fonts with the better-looking Segoe UI. You can modify the CSS file for a more personalized effect.
The code is mainly based on a Japanese extension, “強制メイリオちゃん MSゴシック置き換え版”. Thanks to its original author.
This extension is used to replace the Chinese characters of the web font in "Simsun" and "Simhei" to "Microsoft Yahei". Special thanks to another Japanese extension "強制メイリオちゃん MSゴシック置き換え版".
0.0.7.541: Initial version.
0.0.7.542: Added support for some pages on 天涯社区, where SimSun is incorrectly named “瀹嬩綋”.
0.0.7.543: Fixed an error in 542 that prevented installation. I originally did not want to update the version number, but Google Store required it.
0.7.54.4: Changed the version numbering structure. 0.7.54 is the version number of the Japanese extension used as a reference (0.0.7.54), and the last number records my updates. Added Microsoft YaHei for Chinese text in some monospaced font contexts; I mainly noticed this on soso问问 and 阿邦网.
0.7.54.5: Added Microsoft YaHei for Chinese text in input fields on some websites.
0.7.54.6: Added replacement of SimHei.
0.7.54.7: Added handling for some pages whose language encoding differs from the browser's default language. This should be a Chrome issue.
0.7.54.9: Made optimizations mainly for Wikipedia. Chrome seems to ignore the language of the page itself, so it is difficult to solve the problem fundamentally unless a future Chrome version adds separate font settings for different languages.
0.7.54.10: Added a font setting for 天涯社区, which incorrectly wrote SimSun (or possibly another font) as “����” (天涯, you win).
0.7.54.11: Added a setting for “宋體”.
0.7.54.12: Kept the original settings for the non-CJK portions of Arial and other fonts (very strange).
0.7.54.13, 0.7.54.14, 0.7.54.15: Modified for Chrome 31. It may currently be possible to use only one rule per font.
0.7.54.17~22: I cannot figure out Chrome 31's rules for now. Leaving it like this.
0.7.54.23: Added three replacement fonts, in this order of priority: Microsoft YaHei, WenQuanYi Zen Hei, Heiti SC, Heiti TC. This can be used on Linux and Mac.
0.7.54.25: Added many rules to address blurry bold text (Chrome, are you kidding me?).
0.7.54.27~28: Added Courier.
0.7.54.29: Added PingFang fonts, in this order of priority: Microsoft YaHei, WenQuanYi Zen Hei, PingFang SC, PingFang HK, PingFang TC, Heiti SC, Heiti TC.
0.7.54.30: Removed a garbled font name and changed the Traditional Chinese portion to Microsoft YaHei as well, because the strokes in Zen Hei are too thin (my eyesight is getting old).
0.7.54.31: Added an icon.
0.7.54.32: Modified for Chrome 62. This feels ridiculous.