rougier / nano-emacs

GNU Emacs / N Λ N O - Emacs made simple
GNU General Public License v3.0
2.52k stars 194 forks source link

Enabling the correct font #85

Open carlo-colombo opened 3 years ago

carlo-colombo commented 3 years ago

If I understand correctly the `emacs' version of the font is something that was used to test

rougier commented 3 years ago

Yes, it was due to a bug on OSX/Big Sur. By the way, you might want to have a look at the new (nano-theme that might be easier to hack.

carlo-colombo commented 3 years ago

Thanks!

louisdecharson commented 3 years ago

Hello, I think I have a related bug. I am using elegance.el and I have (set-face-font 'default "Roboto Mono Light 13") but it does not work well and the faces have a regular weight instead of the light one. Any thoughts on how to debug it (I've just switched to Big Sur and the line above used to work well) ?

rougier commented 3 years ago

Are you using Emacs mac ? The last version fixed the problem. If you cannot upgrade, the trick is to create a font with only one weight (light) (see also https://github.com/rougier/elegant-emacs/issues/27)

louisdecharson commented 3 years ago

@rougier Yes, I've seen your comment there, many thanks, I've used your trick and it's works like a charm !! 🙏 I am using emacs-plus@28 and I have the issue. Which version are you using ?

rougier commented 3 years ago

I'm using emacs-mac. The problem has been fixed (see https://bitbucket.org/mituharu/emacs-mac/src/master/NEWS-mac) on big sur but somehow re-appear on Catalina. If you can locate the patch on Big Sur, maybe it can be back ported to emacs-plus.