Can we disable/reduce Editor font smoothing (R2021b)?
8 views (last 30 days)
Show older comments
Is there a way to disable or reduce font smoothing / antialiasing in the Matlab Editor?
I know there are somewhat related questions, restore-old-editor-in-r2021b, monospaced-font-seems-different-in-different-matlab-versions, matlab-font-2021b.
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).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/796219/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/796224/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/796229/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/796234/image.png)
(The appearance is not perfectly reproduced here due to the inherent lossy image compression on Matlab Answers.)
0 Comments
Accepted Answer
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.
6 Comments
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
Bryan
on 29 Jan 2024
Edited: Bryan
on 29 Jan 2024
Any update on this? I upgraded to 2023b on Linux and the editor window text looks all blurry... The command window looks exactly how I want it though. Both have the same font settings.
I disabled anti-aliasing and restarted, but no luck. I'm getting a headache writing scripts...
More Answers (0)
See Also
Categories
Find more on Historical Contests 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!