LoginSignup
6
2

More than 5 years have passed since last update.

Chromebookのコンソールでフォントを変更する

Last updated at Posted at 2018-12-10

普通、ターミナル(Crostini, Crosh, Secure Shellなど)では自分好みのフォントを使いたいところですが、Chromebookは書き込み制限がされていて変更しにくいので、Webフォントを読み込んで表示させてます(デベロッパーモードにする必要はありません)

  • 適用前
    Screenshot 2018-12-10 at 11.16.01.png

  • 適用後(M+)
    Screenshot 2018-12-10 at 11.14.18.png

設定方法

  1. お好みの日本語の等幅フォントをこことかから探し、Webフォントとして配布されていないか確認 (ない場合はライセンスに気をつけながら自己責任で変換してどこかの外部サーバに置いて読み込む)
  2. 今回はM+ webfontsのURLを参考にターミナルの設定画面(Ctrl-Shift+P)で下記のように設定すればすぐ反映されます。
font-family: "M+ Type-1 (general-j) Regular", "Noto Sans Mono"...
user-css-text: @import url(http://mplus-fonts.sourceforge.jp/webfonts/general-j/mplus_webfonts.css);

Screenshot 2018-12-10 at 11.17.08-red.png

見栄えをCSSでカスタマイズ、さすがはブラウザOSです :sparkles::sparkles::sparkles:
以上です。

:christmas_tree: FORK Advent Calendar 2018
:arrow_left: 10日目 画面キャプチャーをPuppeteerで取ってみる。 @karaage7
:arrow_right: 12日目 単層ニューラルネットワークをPythonで実装する @fork_fujisawa

6
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
6
2