✨ Custom Font Settings
We need a custom font setting in CodeEdit.
- [x] The editor and terminal should both default to SF Mono.
- [x] The editor and terminal should have the following separate font settings.
- [x] Font family
- [x] Font size
- [x] Font weight
- [ ] Line height
- [x] The terminal by default should use the editors font settings (with the exception of line height, should default to the same as the font size) but can be set to be different from the editors setting.
Use case: I use a powerline zsh theme which requires a custom font to display correctly. I see this...
when it should look like this...

I will add the font settings tab to the Preference view
Terminal font settings working for now
They do!

There is no editor font settings though
@austincondiff working on implementing an ANSI color picker now #219
There is no editor font settings though
Yeah I guess @MarcoCarnevali should take a look at the editor font selector since he's working on the editor and I don't want to mess things up
It would also be nice to have an option that enables font ligatures!
@lukepistrol We should be using the syntax highlighting theme the user has selected to also highlight the terminal.
We are just waiting on the ability to change the line height for both the editor and the terminal to be able to close this. The editor should default to 16px/1.6em/160% based on a 10px font size, and terminal should default to 10px/1em/100% (same as font size).
Current line height limit is capped to 2 and that is just too low :c
https://github.com/CodeEditApp/CodeEdit/blob/ff0f796293a2380be6302a3b05e168437ca9adcb/CodeEdit/Features/AppPreferences/Sections/TextEditingPreferences/TextEditingPreferencesView.swift#L33
@nicolasparada What would be an acceptable cap if not 2.0?
Dunno really.
In VSCode, from 0 to 8 means it is a multiplier of the font size. I use 3, and the default font size of 12, meaning the line height is 36.
In VSCode then I increase the whole zoom to 2 (140%) which increases everything up. So maybe I would need 50 of line height.
I bet there are people that like it even more spaced :)
Everything in the above checkbox has been implemented. Closing.