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

audio button icon not shown #17

Closed
emacsbliss opened this issue Dec 10, 2021 · 4 comments
Closed

audio button icon not shown #17

emacsbliss opened this issue Dec 10, 2021 · 4 comments

Comments

@emacsbliss
Copy link

maybe it's the font I'm using cause this issue? Currently I'm using Jetbrains mono, the icon where we click to play sound shows blank in my emacs.

@condy0919
Copy link
Owner

Most audio buttons use emoji ('🔊').

"C-x 8 RET 1f50a" or "C-x 8 RET SPEAKER WITH THREE SOUND WAVES"

to check whether it's displayed in tofu or not.

Emacs will use symbola if no font is found to display emoji. If you use archlinux,

yay -S ttf-symbola

@emacsbliss
Copy link
Author

thanks for the info. C-x 8 RET shows blank for this emoji.

also I'm on Mac, seems no ttf-symbola for it..

@condy0919
Copy link
Owner

You can use "Apple Color Emoji" to display emoji.

;; Emacs 29, 28
(set-fontset-font t 'emoji (font-spec :family "Apple Color Emoji") nil 'prepend)

;; Emacs 27
(set-fontset-font t 'symbol (font-spec :family "Apple Color Emoji") nil 'prepend)

@emacsbliss
Copy link
Author

great, that works!! thanks a lot!
maybe add this to readme might help others too.

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

2 participants