Can we disable/reduce Editor font smoothing (R2021b)?

28 views (last 30 days)
Is there a way to disable or reduce font smoothing / antialiasing in the Matlab Editor?
Compared to the Command Window and e.g. the Editor in R2020a, the Editor in R2021b now renders fonts differently, with an overly smoothed result that I find quite fatiguing at least on my display.
The strength of the effect differs depending on the font (top: Editor, bottom: Command Window).
(The appearance is not perfectly reproduced here due to the inherent lossy image compression on Matlab Answers.)

Accepted Answer

Ashutosh Singh Baghel
Ashutosh Singh Baghel on 15 Nov 2021
Hi Andres,
To disable the "font smoothing / antialiasing" in the Matlab Editor in Linux, deselect the option "Use antialiasing to smooth desktop fonts" . On Microsoft® Windows® and macOS platforms, MATLAB uses system setting for antialiasing.
For further information, please refer to the following Documentation Page.
Jelmer Kuiper
Jelmer Kuiper on 15 Feb 2022
In my case, finetuning and restart did not fix the blurry rendering in the editor. Using 2021b However the documentation does give a good hint saying "monospaced" (default font) is rendered differently in the editor compared to the command window. Documentation Page.
Changing font to "Courier New" did the trick. Both rendering the same now: sharp text. In a slightly different font

Sign in to comment.

More Answers (0)


Find more on Matrices and Arrays 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!

Translated by