How can one install some font for Matlab on Ubuntu?

9 ビュー (過去 30 日間)
alpedhuez
alpedhuez 2020 年 8 月 4 日
コメント済み: Sourabh Kondapaka 2020 年 8 月 18 日
How can one know some fonts are available for Matlab on Ubuntu?
How can one install some fonts on Ubuntu using https://wiki.ubuntu.com/Fonts and how can one make the font recognized by Matlab?

回答 (1 件)

Sourabh Kondapaka
Sourabh Kondapaka 2020 年 8 月 12 日
編集済み: Sourabh Kondapaka 2020 年 8 月 13 日
Hi,
You will need to copy the font’s file ( “Bitwise.ttf” is the font file used in this link) to two directories.
If the locations do not already exist please go ahead and create them.
Here , replace “<username>” with your ubuntu username
1. / home / <username> / .local / share / fonts /
2. / home / <username> / .fonts /
After copying the font file (“Bitwise.ttf”) to the above to locations, open Matlab.
Under the “HOME” tab, in the “ENVIRONMENT” subsection , click on “Preferences” which has a gear (“⚙”) icon.
Now under “MATLAB” drop down click on “Fonts” .
Under the section “Desktop Code Font” you can click on the Drop-down menu and select “Bitwise”.
Then under the “Desktop Text Font” deselect the checkbox “Use System Font” and click on the drop down menu and select “Bitwise”.
You can also adjust the font size in the text box to the right.
  3 件のコメント
alpedhuez
alpedhuez 2020 年 8 月 17 日
Will appreciate update.
Sourabh Kondapaka
Sourabh Kondapaka 2020 年 8 月 18 日
Hi,
Could you please restart your system after placing the font file in the 2 directories mentioned above and then checking if the font is visible in MATLAB.
I had just cross checked with the "BookAntiqua.tff" font and was successfully able to change the font.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by