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

librsvg preferred over WebKit2 #312

Open
jdtsmith opened this issue Nov 6, 2022 · 2 comments
Open

librsvg preferred over WebKit2 #312

jdtsmith opened this issue Nov 6, 2022 · 2 comments

Comments

@jdtsmith
Copy link

jdtsmith commented Nov 6, 2022

Just received this note from Yamamoto after asking about some SVG issues I encountered in my 28.2 emacs-mac build:

The Mac port uses WebKit for rendering SVG images if librsvg is
unavailable or disabled.  As of WebKit 1 (32-bit or < macOS 10.13),
DOM access was available via Objective-C objects, but WebKit 2 dropped
this feature and we have to use JavaScript, which seems to be partly a
cause of slowness.

Given that, should --with-librsvg be the default? In my testing it is much faster.

@neoheartbeats
Copy link

This performance related issue is mentioned at 311#issuecomment.
Additionally, if --with-librsvg is used, issues at emacs-plus #522 & #525 are reported.

@railwaycat
Copy link
Owner

It looks reasonable to make --with-librsvg on my default. I will have a try to see if the cask packing for librsvg is also good.

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