Blurry font on Ubuntu 16.04 with R2016b
Show older comments
Hello,
After installing R2016b for the first time on an Ubuntu machine, I'm noticing a lot of font issues where it starts out fine and then suddenly gets very blurry. It happen with test practically everywhere: Worspace variable names, current folder pane, command window, and even the toolstrip. Ususally clicking on the blurry font will cause it to re-render and get drawn correctly, but this issue continues to happen as I run MATLAB scripts.
See attachments for pictures of the workspace and the issue I am describing.


Any help is much appreciated.
Regards, Jeff
2 Comments
Garoe Dorta
on 6 Nov 2016
Edited: Garoe Dorta
on 6 Nov 2016
There are some incompatibilities with the libc and the java version.
To get the right libc install matlab-support and and replace the libraries when asked
sudo apt-get install matlab-support
- Matlab 2016b is not compatible with openjdk8, install 7 and force matlab to use it
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-7-jdk
echo 'export MATLAB_JAVA=/usr/lib/jvm/java-7-openjdk-amd64/jre/' >> ~/.profile
The splash screen also tends to be a source of problems, deactivate it with the following
sudo sed -i "s:Exec=matlab -desktop:Exec=matlab -desktop -nosplash:g" /usr/share/applications/matlab.desktop
After running everything reboot to make sure the changes were applied.
To manually check the java version used by matlab run the following inside matlab
version -java
Hopefully that will solve the issues.
Walter Roberson
on 7 Nov 2016
Garoe Dorta, I suggest you make that into an Answer.
Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!