2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Catalina/Chromeで明朝体となってしまったサイトをゴシックで表示する方法

Last updated at Posted at 2020-01-05

macOS Catalina になってから Chrome で sans-serif 指定でも明朝体が表示されるようになってしまった問題の対処法です。

Stylus というカスタムCSSを指定できる拡張機能を追加し、Write new style をクリックして以下のCSSをペーストし、Save をクリックします。

Stylus - Chrome ウェブストア
https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=ja

@font-face {
  font-family: sans-serif;
  src: local("Helvetica");
  font-weight: bold;
}

sans-serif の部分にに嫌いなフォントを指定すればそれらを置き換えることもできます。

Chrome Canary (デベロッパー向けビルド、不安定) ではもう修正されているようなのでそちらを使うこともできます。
https://www.google.com/intl/ja/chrome/canary/

参考

https://chaika.hatenablog.com/entry/2019/10/29/083000
https://applech2.com/archives/20191027-google-chrome-fixed-hiragino-kaku-gothic-pro-pron-issues.html
(もうすぐChrome Stableでも修正されそうなのでもっと早く書けばよかった...)

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?