Giter Site home page Giter Site logo

Different rendering after update about svgren HOT 11 CLOSED

cppfw avatar cppfw commented on July 30, 2024
Different rendering after update

from svgren.

Comments (11)

skalleAnka avatar skalleAnka commented on July 30, 2024 1

Yep that did the trick, now all of my SVGs look good again. Thank you so much for your help!

from svgren.

skalleAnka avatar skalleAnka commented on July 30, 2024

Hmm... I got libsvgdom 0.2.36 from NuGet but I wasn't sure if the latest libsvgren was supposed to use that yet, so i tried 0.2.35 and got this rendering instead:
test

Maybe I'm doing something wrong?

from svgren.

skalleAnka avatar skalleAnka commented on July 30, 2024

I just realized after visiting the svgdom page that the latest version is 0.2.39, that's probably what's wrong. I'll have to get all the dependencies and build it manually and try again :)

Sorry for wasting space in your issues ;)

from svgren.

igagis avatar igagis commented on July 30, 2024

You are trying from Visual Studio, I suppose?
I have some problems with build system on Appveyor.com right now, and it will take some time to fix it, so I cannot release new NuGet packages at the moment, but I will do that as soon as I can. So, for now you can continue using svgdom version 0.2.35 and later upgrade to 0.2.39+ when it is available.
Reopening the issue until 0.2.39 is avaialable.

from svgren.

igagis avatar igagis commented on July 30, 2024

Ok, I'll do a workaround for that build system for now as it seems taking too long time.

from svgren.

igagis avatar igagis commented on July 30, 2024

Ok, new packages released to nuget:
svgdom version 0.2.40
svgren version 0.4.20
please try and close the bug.

from svgren.

skalleAnka avatar skalleAnka commented on July 30, 2024

Hi! Thank you for updating. I am now using svgdom 0.2.40 and svgren 0.4.20 from NuGet. I hade a strange setup before where svgren was from github and the dependencies from nuget, but I changed it to use NuGet directly in my project. That should make it easier to keep it up to date with all the dependencies :)

The sample in the first post is now rendered like this;
test

The size seems better but there are parts missing. I also have other SVG files that misrender. Should I close this issue and create a new one?

from svgren.

igagis avatar igagis commented on July 30, 2024

No need to close this bug so far, let me still try to reproduce this. You can attach other images which misrender to this bug, but I'd suggest wait a bit, possibly if I fix this problem the others will be fixed too.

from svgren.

igagis avatar igagis commented on July 30, 2024

Ok, I think I reproduced the issue. But it looks like it is only reproduced for Debug configurations. In Release configuration it works OK. Can you confirm the same behavior?

from svgren.

skalleAnka avatar skalleAnka commented on July 30, 2024

I am not able to build release at the moment, that's why I started doing the upgrade dance in the first place :)
I am using Visual Studio 2015 and keep getting

1>LINK : fatal error C1900: Il mismatch between 'P1' version '20150812' and 'P2' version '20130802'

It doesn't really say what file the problem is, but I'm suspecting Cairo and/or Pixman as all the other dependencies seem to have v140 folders now.

But I thought I'd leave that as a later headache for now, as I don't really have a need for release builds at the moment and will upgrade to VS2017 soon and get new problems to sort out anyways ;)

from svgren.

igagis avatar igagis commented on July 30, 2024

Fix ready, please update svgdom to version 0.2.41 from NuGet.

from svgren.

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.