Defold editor font

Hi,

I want to change the visual of the Defold code editor, so I’ve downloaded some of the fonts online. But the problem is: no matter what I do, I can’t change the font for the editor. Fonts I’ve downloaded are Fira Code font and JetBrains Mono font. Seems like other code editors work with these fonts pretty well, but I don’t know how to make it works in Defold. Is there any way to fix that?

Thanks!

Hello there,

I’m using JetBrains Mono ExtraBold and it works fine, some font variants have weird artifacts so you’ll have to find which works.
Sadly Defold editor doesn’t support ligatures, so if you want that you’ll have to use some other code editor.

1 Like

Thanks Dzuvan,

But it seems like every font I’ve tried in JetBrains Mono font not worked out. Do I need to include the .ttf at the end of the name of the font, or I just write the font name? Did it works for you right out of the box, or do you need any extra setup? I’ve downloaded the file, installed it and I also double check that it’s in the system font, but do I need any extra for that?
Sorry it’s a bit too much questions, but I’m really glad if you can help me with these issues.

Thank you so much!

No,no, you just need to have it installed on your system and just set it’s full name from font settings in preferences and it should work, and restart Defold after doing that to apply changes.

3 Likes

Oh, I got it now! I just delete and reinstall it again, but this time I only install the static font files instead of install the variables one. Seems like it fixed the issues! Thank you so much for your help Dzuvan

5 Likes