Tuesday, December 2, 2025

Delphi Tip of the Day: Editor Font > Line Height

Delphi 13 Options: Editor > Display > Font > Line Height

I recently installed Delphi 13 on my new development machine. And ever since I watch Alister Christie's Code Font video, I've been hooked on using Consolas. I like how it distinguishes between zero and capital "O".

When I brought up the options to change the editor font to Consolas I noticed a new Line Height feature. I played around with some different line heights and for me personally, I settled on 1.2 which fits my eye nicely.

Line Height of 1.2 fits my eye nicely


I don't remember seeing Line Height in Delphi 11. And a quick confirmation of the Delphi 11 IDE options proves it's not there. I installed Delphi 12 but never really used it. I did a quick check and lo and behold the Line Height feature is available in Delphi 12. I must have missed it because I totally skipped using 12 all together.

I also decided to check out if there were any other fonts I might like. Here is the list of  alternatives to Consolas that ChatGPT gave me. I tried the ones that were available in Delphi and decided to stick with Consolas.

Font What makes it good
Fira Code A modern monospaced font with programming ligatures (so =>, !=, ->, etc. can render as single, clean glyphs). Improves readability of symbol-heavy code.
JetBrains Mono Designed specifically for developers: clean shapes, tall lowercase letters (makes code easier on the eyes), and good clarity even at smaller sizes.
Hack A clean, well spaced monospaced font — good if you like clear distinction between similar characters (0 vs O, l vs 1). Good for plain-text editing or coding without fuss.
Cascadia Code Created by Microsoft for terminals/editors. Has optional ligatures and good support for modern coding environments. Works nicely for both GUI IDEs and terminals.
Source Code Pro A straightforward, clean monospaced font with consistent spacing and good legibility — useful if you prefer simplicity over styling.
Iosevka A very flexible monospaced font (lots of glyph/width/variant options), popular among people who want tight control over how their code appears.
DejaVu Sans Mono A classic, reliable open-source monospace font with wide character coverage and solid legibility — good fallback or default choice on many platforms.


Here is Alister Christie's video on code fonts I watched many years ago. Wow, this video was released in 2013.



Enjoy!
Semper Fi
Gunny Mike
https://zilchworks.com



1 comment:

  1. I've tried many times to move away from the Consolas font, but in the end it's always proven to be the best alternative: no annoying ligatures, clear characters, perfect height and width, excellent readability. A must-have. :)

    ReplyDelete