How can one install some font for Matlab on Ubuntu?

9 views (last 30 days)
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?

Answers (1)

Sourabh Kondapaka
Sourabh Kondapaka on 12 Aug 2020
Edited: Sourabh Kondapaka on 13 Aug 2020
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 Comments
Sourabh Kondapaka
Sourabh Kondapaka on 18 Aug 2020
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.

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!