If you want to get help you'll need to provide more details, like:
1. Which fonts work?
2. Which doesn't?
3. What happens if you change the font size?
4. Does it work correctly in scite or codelite? Or even the stc demo in wxwidgets?
4. OS version
5. Have you tried to enable direct 2d in 20.03 ( settings -> editor -> other editor settings -> technology)?
1. Ones that have space both below and above the baseline (they are internal font settings, also called WinAscent and WinDescent)
2. Ones that have the baseline at the font bottom
3. The font height gets consistently off-by-one
4. I haven't learned the entirety of the C++ language yet so I don't know about those features.
4. Windows 10 Home, 1909, 18363.778
5. There isn't a "direct 2d" option anywhere