4
3

More than 3 years have passed since last update.

【Macbook】Chromeのフォント設定をデフォルトに戻す

Posted at

はじめに

Google Chromeのフォント設定を誤って変更してしまいました。
デフォルト値の「カスタム」に戻そうとすると、「カスタム」が見当たらない…

直すのに結構手間取ってしまったので、備忘録として書き留めておきます。

参考

以下の記事を参考にしました。ほぼ下の記事の通りですが、設定ファイルの位置などが自分の場合と異なっていたため、本記事を書こうと思いました。
https://qiita.com/RinGoku/items/b0943c4bc1099a340735

環境

MacBook Pro (13-inch, 2020) Big Sur 11.2.3
Google Chromeのバージョン: 92.0.4515.107(Official Build)

方法

1.Google Chromeを閉じる
2.設定ファイルを編集する
設定ファイルですが、自分の場合は ~/Library/Application Support/Google/Chrome/Profile 1/Preferencesでした。
Chromeで使用しているユーザーごとに場所が異なると思われるので注意してください。(2番目のユーザーなら Profile 2以下にある)

ファイルを何らかのエディタで開いて、末尾にある "webkit" で始まる部分を編集します。

変更前
"webkit":{"webprefs":{"fonts":{"fixed":{"Zyyy":"Ricty Diminished"},"sansserif":{"Zyyy":"Hiragino Maru Gothic ProN"}}}},"zerosuggest":{"cachedresults":""}}

今回は誤って「ヒラギノ丸ゴ ProN」にしてしまったsansserifの設定をデフォルトに戻したいので、 "sansserif":{"Zyyy":"Hiragino Sans"}"sansserif":{"Zyyy":""}に変更します。

変更後
"webkit":{"webprefs":{"fonts":{"fixed":{"Zyyy":"Ricty Diminished"},"sansserif":{"Zyyy":""}}}},"zerosuggest":{"cachedresults":""}}

3.Google Chromeを再起動するとフォントが戻っている

以上です。

4
3
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
4
3