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

Cask M1 Emacs doesn't ship with SVG render support #8

Open
andorsk opened this issue Nov 22, 2022 · 8 comments
Open

Cask M1 Emacs doesn't ship with SVG render support #8

andorsk opened this issue Nov 22, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@andorsk
Copy link
Owner

andorsk commented Nov 22, 2022

M1 Emacs doesn't ship with SVG render support. There are some build flags with libsvg to support rendering in the buffer, but would need to re-install emacs or build from source.

@andorsk
Copy link
Owner Author

andorsk commented Nov 28, 2022

out of cask, svg is working:

image

@andorsk
Copy link
Owner Author

andorsk commented Nov 28, 2022

The cask formula just downloads from emacsformacosx, which is part of the problem. https://github.com/Homebrew/homebrew-cask/blob/c5ae3285a70367cd322e56caa61112bed675065f/Casks/emacs.rb

@andorsk
Copy link
Owner Author

andorsk commented Nov 28, 2022

I installed emacs plus via brew:

brew install emacs-plus --with-imagemagick --with-native-comp --with-mailutils --with-debug --with-dbus --with-ctags

and it confirms to work. There is no fix (AFAIK) to the cask install unless we revisit the entire cask formula or until emacsformac gets updated with a new binary that supports svg.

@suliveevil
Copy link

suliveevil commented Nov 29, 2022

Emacs 30 is better on dealing with SVG (emacs-plus):

GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.1.0, NS appkit-2299.00
 Version 13.0.1 (Build 22A400)) of 2022-11-29

emacs-30-svg

@andorsk
Copy link
Owner Author

andorsk commented Nov 29, 2022

that's awesome.

@andorsk
Copy link
Owner Author

andorsk commented Nov 29, 2022

@suliveevil I added your working svg into the README! Thanks for providing the screenshot above.

@suliveevil
Copy link

I'm glad I could help. 🤗

@andorsk andorsk added this to the Alpha-0.1 milestone Nov 29, 2022
@andorsk
Copy link
Owner Author

andorsk commented Nov 29, 2022

#19 provides a workaround that should work on most systems.

@andorsk andorsk removed this from the Alpha-0.1 milestone Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants