Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: geometric on April 09, 2021, 08:20:16 am
-
Hi, I use JetBrains Mono, Fira Code and a few other fonts which support font ligatures, in which two characters are combined to form one. (a common example is != becoming ≠) The font ligatures work in other editors such as VS Code, and other JetBrains IDEs. Is it possible that Code::Blocks can support ligatures in the near future?
-
20.03 already supports them, I'm using Fira Code right now.
You just need to set Settings->Editor->Other editor settings->Technology to Direct Write and Settings->Editor->Editor settings->Font to Fira Code
-
Thank you very much! I'm new to Code::Blocks and didn't know this existed.
-
However, I noticed that the autocomplete suggestions become very large. Is it cause by this setting or not?
-
That's a bug with text size calculation when using DirectWrite. I have it fixed on my system, but my patch was not accepted (and 20.03 was already launched anyway). See ticket 835 (https://sourceforge.net/p/codeblocks/tickets/835) for more information.