Nightcode icon indicating copy to clipboard operation
Nightcode copied to clipboard

Allow changing font face

Open ghost opened this issue 8 years ago • 3 comments

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.

  • NC 2.0.0 (from windows installer exe on the site)
  • Windows 10
  • System JRE 1.8.0_92-b14 (in case that's helpful).

ghost avatar Jul 15 '16 18:07 ghost

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.

oakes avatar Jul 21 '16 01:07 oakes

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 avatar Aug 19 '17 12:08 egri-nagy

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.

egri-nagy avatar Aug 29 '17 02:08 egri-nagy