Giter Club home page Giter Club logo

Comments (6)

rougier avatar rougier commented on May 30, 2024

If it returns nil, I think it means you do not have svg support. Do you know if your emacs distribution comes with svg support ? It might also depends on the image magick library. I'm not too familiar with Windows but I think it should be possible to have svg support.

from svg-tag-mode.

Eiyeron avatar Eiyeron commented on May 30, 2024

Hello.

From what I understand and quickly gathered, emacs leverages librsvg to display SVG images. What is the content of system-configuration-features on your side? Does it contain RSVG? If it does, it means that your build should support SVG rendering.

If it does, it sounds like you might lack librsvg and its dependencies.

from svg-tag-mode.

fniessen avatar fniessen commented on May 30, 2024

system-configuration-features is a variable defined in ‘C source code’.
Its value is
"XPM JPEG TIFF GIF PNG SOUND DBUS GLIB NOTIFY GFILENOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS XIM MODULES THREADS JSON PDUMPER LCMS2 GMP"

Probably introduced at or before Emacs version 25.1.

Documentation:
String listing some of the main features this Emacs was compiled with.
An element of the form "FOO" generally means that HAVE_FOO was
defined during the build.

This is mainly intended for diagnostic purposes in bug reports.
Don’t rely on it for testing whether a feature you want to use is available.

from svg-tag-mode.

fniessen avatar fniessen commented on May 30, 2024

Hello Nicolas. No SVG in that list ;-(

from svg-tag-mode.

Eiyeron avatar Eiyeron commented on May 30, 2024

Did you install the package emacs-w32? I checked its dependances, it doesn't seem to be built with SVG support, so the package will most likely not work on your instance of emacs.

You might have to use another package (for instance emacs-x11, but you will need to run a X server), another distribution (for instance the ones based on MinGW like GNU's releases) or build your own version with a patch to alter the feature set. There is an instance of such patch located here. Beware, it's 5 years old and probably not working on newer versions, it might give you a good idea of what to do to add feature back.

from svg-tag-mode.

fniessen avatar fniessen commented on May 30, 2024

Yes, I'm using Emacs-W32.

Not keen on losing time with other versions, though, particularly because Cygwin's own Emacs version does understand the Cygwin paths, what other Windows versions do not do.

So, pretty blocked here, until / unless Cygwin would add the SVG support in its build.

from svg-tag-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.