soikw.log

プログラミングを中心に、のんびりいろいろ備忘録。

Light Tableのフォントを変更

Light Tableに日本語を入力したところ、フォントがいわゆる「中華フォント」だったので設定を変更しました。
(事前にMiguフォント : M+とIPAの合成フォントをインストールしてあります)

  1. Commandsから「Settings: User behaviors」を選択し、user.behaviorsファイルを開く。
  2. 「:editor」にフォントの指定を追加する。

変更前

     ;; The editor tag is applied to all editors
     :editor [:lt.objs.editor/no-wrap
              (:lt.objs.style/set-theme "default")]

変更後

     ;; The editor tag is applied to all editors
     :editor [:lt.objs.editor/no-wrap
              (:lt.objs.style/set-theme "default")
              (:lt.objs.style/font-settings "Migu 1M" "" "")]

:lt.objs.style/font-settingsを追加してあります。
Font Familyに「Migu 1M」、SizeとLine heightは指定なしでデフォルトのままです。