CodeEditApp / CodeEdit

πŸ“ CodeEdit App for macOS – Elevate your code editing experience. Open source, free forever.
https://codeedit.app
MIT License
21.16k stars 1.02k forks source link

🐞 Font weight setting is ignored, font is always bold #1891

Closed macguru closed 1 month ago

macguru commented 1 month ago

Description

It seems the font weight setting is being ignored. See the attached screenshots, all text renders bold for me.

Also this is a setting I never changed, but it was set to "Medium", which feels like a weird choice. "Regular" would be better.

To Reproduce

Edit any file (in my case ruby)

Expected Behavior

Regular font weight

Version Information

CodeEdit: 0.3.2-alpha (43) macOS: 15.1 beta 4 Xcode: 16.1 beta 2

Additional Context

No response

Screenshots

Screenshot 2024-09-25 at 14 26 50 Screenshot 2024-09-25 at 14 27 00
austincondiff commented 1 month ago

I've never experienced this. Please confirm that you have SF Mono installed and/or enabled.

macguru commented 1 month ago

It did turn out I had the font installed twice, probably from the time when it was not a System Font. They were in two system locations:

And it seems CodeEdit somehow went with the latter. When I disabling it, the editor is okay again. So that's solved πŸ˜‰

The other this still applies though – the Font Weight setting doesn't do anything for me. Not sure why it's there to begin with, but you certainly have reason.