How can one install some font for Matlab on Ubuntu?

조회 수: 10 (최근 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 CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by