Why am I unable to disable font antialiasing in Linux with Gnome in MATLAB 7.5 (R2007b) ?
2 views (last 30 days)
Show older comments
It turns out that Gnome differs from other Linux window managers in that it makes Java aware of the system antialiasing settings. As a result, Java picks this up automatically and behaves as it does on Windows, which is to say, the application obeys the system setting.
However, other Linux window managers do not supply Java with the antialiasing, which is why the checkbox exists, so that you can manually turn on antialiasing.
So on Gnome, the behavior is as follows:
Gnome setting MATLAB setting MATLAB result
------------------------------------------------------------
Monochrome (No AA) No AA No AA
Monochrome (No AA) AA AA
LCD AA No AA AA
LCD AA AA AA
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
To allow for turning off font antialiasing, you can create a file named "java.opts" in the $MATLABROOT\bin\glnxa64 directory where $MATLABROOT is the MATLAB root directory on your machine, as returned by typing
matlabroot
at the MATLAB Command Prompt.
containing the following line:
-Dawt.useSystemAAFontSettings=false
That, as well as leaving the MATLAB checkbox deselected, should result in MATLAB alone being non-antialiased.
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!