MATLABの警告「Warning: the font “Times” is not available, so “Lucida Bright” has been substituted, but may have unexpected appearance or behavior. Re-enable the “Times” font to remove this warning.」の解消方法【Timesフォントをインストール】

こんにちは、Megです!

今回はMATLABのエラー「Warning: the font “Times” is not available, so “Lucida Bright” has been substituted, but may have unexpected appearance or behavior. Re-enable the “Times” font to remove this warning.」の解消法について解説したいと思います。

警告だからほっといても良いんだけど、毎回目に止まると改善したくはなるよな。

MATLABによる脳波解析でオススメの書籍はこちら

結論

Macにフォント「Times」をインストールすれば解決。

各種バージョン

MacとMATLABのバージョンは以下。

Mac

MATLAB

作業内容

フォント「Times」をインストール

フォントの「Times」を以下のリンクからダウンロードします。ダウンロード先は場所はダウンロードでOK。

Download free Times font - Free fonts download
Download free Times font by Free fonts download free for Personal Use. Font list styles: unicode.timesu.ttf, TIMESR.ttf,

Macにフォントをインストール

以下の手順でMacBookにダウンロードしたフォント「Times」をインストールします。

  1. fontbookを開く
  2. プラスマークからインストール
  3. 重複していたら削除

以下のサイトを参考にしてインストールしました。公式サイトだから安心。

Install and validate fonts in Font Book on Mac
In Font Book on your Mac, install, download, or validate fonts to use in apps, and resolve font issues.

MATLABを再起動

MacにフォントTimesがインストールできたら、MATLABのインスタンスを全て閉じて再起動しましょう。

きっと忌まわしき警告が消えているはず!

おわりに

そもそもMacにデフォルトでTimesフォントがインストールされていないのが謎すぎる。Tines New Romanはあるのに。

有識者教えて。

参考文献

17 MATLABがTimesフォントがないと警告する
17 MATLABがTimesフォントがないと警告する

タイトルとURLをコピーしました