Bug with default Editor Font in R2023a

4 Ansichten (letzte 30 Tage)
Dmytro Gorkov
Dmytro Gorkov am 4 Apr. 2023
Bearbeitet: Owen Gray am 8 Mai 2024
I just installed Matlab R2023a version and found that the default font in editor looks differently from those in R2020a.
in R2023a Editor:
In R2023a Preferences:
In R2020a it looks as it should:
Both fonts are set as "Monospased plain" Sample text in preferencies. Simple compare "T" and "0" letters in both lines, obviously in R2023a editor the font looks differently from Preferences. Is it bug and how to fix it?

Akzeptierte Antwort

Dmytro Gorkov
Dmytro Gorkov am 7 Apr. 2023
Today I got answer from Matlab:
"The new Editor is using a web-based UI technology rather than Java swing. As a result, fonts are rendered differently. In addition, the default font has been changed to a more modern one. Therefore, it is not a bug, but expected behavior.
If you prefer the old font, you can get closer to it by going to "Preferences > Fonts" and adjusting the font. On Windows, picking "Courier New" will be closest to the old font."
I picked "Courier New" and it looks very similat to old Editor Font
  1 Kommentar
Owen Gray
Owen Gray am 8 Mai 2024
Bearbeitet: Owen Gray am 8 Mai 2024
I'm having similar issues in 2023b, font's that work fine on the desktop, and worked in the editor in previous versions, won't display in 2023b editor (Windows) whether I set it to the default desktop font or a custom font for the editor. It seems to default to consolas in most cases, I'd like to use firacode or similar though

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by