Code Monkey home page Code Monkey logo

Comments (3)

mgieseki avatar mgieseki commented on July 28, 2024

The generated SVG file is almost correct. However, most SVG renderers/editors don't support SVG font elements. If you open the file with Opera or Batik Squiggle for example, you should get the correct visual result (also see http://dvisvgm.bplaced.net/Screenshots):

shot

Alternatively, you can call dvisvgm with option -n to replace the font elements by paths. These SVG files are usually much more portable.

Concerning, the wrong Unicode character assigned: this issue has been fixed in dvisvgm 1.11. The latest version is 1.14.1 and brings some more improvements. Since you're using a pretty old release (1.8.1), you might want to try a more recent one.
Here's your equation converted with dvisvgm 1.14.1.

from dvisvgm.

jaap-karssenberg avatar jaap-karssenberg commented on July 28, 2024

Hi Martin,

Thanks for the information. Can confirm that indeed using "-n" avoids the issue and that the dvisvgm 1.11 output you share also gives the expected result.

The "-n" option works well for my use case since I'm only interested in the visual presentation, the text equivalent is handled separately.

Will upgrade as soon as the new version makes it into my package management.

I believe this issue can be closed.

Regards,

Jaap

from dvisvgm.

mgieseki avatar mgieseki commented on July 28, 2024

Hi Jaap,

great to hear, you could solve the issues with dvisvgm. I'm closing this ticket for now. Feel free to reopen it if you have further questions on this topic.

Best,
Martin

from dvisvgm.

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.