Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bold font not working in org & md #54

Closed
guiyuanju opened this issue Feb 9, 2021 · 8 comments
Closed

bold font not working in org & md #54

guiyuanju opened this issue Feb 9, 2021 · 8 comments

Comments

@guiyuanju
Copy link
Contributor

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
Copy link
Owner

rougier commented Feb 15, 2021

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
Copy link
Contributor Author

@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
Copy link
Owner

rougier commented Feb 15, 2021

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

@guiyuanju
Copy link
Contributor Author

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

@ghost ghost mentioned this issue Oct 3, 2021
@dangom
Copy link

dangom commented Dec 2, 2021

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

@rougier
Copy link
Owner

rougier commented Dec 15, 2021

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

@dangom
Copy link

dangom commented Dec 15, 2021

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
Copy link
Owner

rougier commented Dec 15, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants