oakes / Nightcode

An IDE for Clojure
https://sekao.net/nightcode/
The Unlicense
1.4k stars 124 forks source link

Allow changing font face #173

Open ghost opened 8 years ago

ghost commented 8 years ago

This one's a bit subjective and probably biased by the fact that I've been enjoying coding in 1.3.2 so much, but I'm finding the choice of a different font in the NC2 editor is making reading code harder. The &/@ symbols in particular don't appear in the shape I'm expecting to see and the characters are overall a bit more packed and less legible than before at the same font size. It'd be handy if there was the possibility for users to select a font face as well as size, but IMO the old NC font is more legible.

oakes commented 8 years ago

Currently I'm using FiraCode which is fairly popular for editing code. I may look into allowing the font to change in the future. I changed the title to reflect that.

egri-nagy commented 7 years ago

Yes, it is very subjective, but I am very attached to coding font I'm using (https://madmalik.github.io/mononoki/), so it would be great if I could use that with NC. Maybe just a few instructions how to build NC with a different font would be sufficient.

egri-nagy commented 7 years ago

By modifying public/codemirror.html and public/paren-soup.html, and uploading the font to public/fonts I could change the font for the code. This is good enough for my use case.