MATLAB: Am I unable to disable font antialiasing in Linux with Gnome in MATLAB 7.5 (R2007b)

MATLAB

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

Best Answer

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.