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

11 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.
  7 Comments
Bryan
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...
.json
.json on 23 Sep 2024
I'm using 2023b on Ubuntu 20.04, and this doesn't seem to work. The preferences option disables font smoothing everywhere but the editor. Fonts like "Monospaced" and "Courier 10 Pitch" don't seem to be selected (even after restart)--it just sticks to the previously selected font.

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!