rougier / nano-emacs

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

bold font not working in org & md #54

Closed guiyuanju closed 3 years ago

guiyuanju commented 3 years ago

In a emacs -Q -l nano.el, the bold font in org-mode or markdown-mode doesn't work, it just seems like a normal font without any bold.

I am using macOS and the Roboto Mono font is installed.

The "bold" is actually "*bold*", which is hided because of org-hide-emphasis-markers:

image
rougier commented 3 years ago

I have the same problem actually on OSX. I already filled a bug but didn't hear about since then. A tempory fix is to create a specific font with only one weight, one for light and one for medium. I can send them to you if you want.

guiyuanju commented 3 years ago

@rougier Thank you! your tempory fix is working, now I get a bold font finally. This seems like an emacs problem, it doesn't read all weights, just choose several of them.

rougier commented 3 years ago

Do you know by any chance what is the change in Big Sur that leads emacs to be confused?

guiyuanju commented 3 years ago

Sorry I have no idea why, but someone seems to have reported this bug bug#46436: 27.1.91; Font weight issue on MacOS Big Sur

dangom commented 2 years ago

Hi guys, is there a current recommended solution for this issue?! Would love to get the bold font working as well. :)

rougier commented 2 years ago

I'm splitting the font file into several weights using fonttools and specify them in my .emacs.

dangom commented 2 years ago

Yes - I'm currently doing the same. Added some instructions for that on my fork of nano-theme, based on your suggestions, and updated the fonts on the theme respectively.

rougier commented 2 years ago

Let's hope the OSX version is fixed with Emacs 28 release.