How can one install some font for Matlab on Ubuntu?
조회 수: 10 (최근 30일)
이전 댓글 표시
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
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
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 Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!