Giter VIP home page Giter VIP logo

Comments (10)

carloBarazzetta avatar carloBarazzetta commented on May 13, 2024

for example, I remember that "C++Builder project icon.svg" problem was the definition of st2 style, as display none and stroke black.
the "circle" with st2 was rendered black, but it shouldn't be rendered because the style is display none.
Now I'm searching the bug reintroduced probably with some merge...

from svgiconimagelist.

pyscripter avatar pyscripter commented on May 13, 2024

I will have a look.

from svgiconimagelist.

pyscripter avatar pyscripter commented on May 13, 2024

Here is how it is shown here. It shows the same in the browser.

image

from svgiconimagelist.

pyscripter avatar pyscripter commented on May 13, 2024

And here are all the product icons:

image

from svgiconimagelist.

carloBarazzetta avatar carloBarazzetta commented on May 13, 2024

And here are all the product icons:

image

Notice the problem into icon 285 and 290.
For 285 I've found the problem: an SVG with Display false is rendered, so with this fix the "black circle" is not rendered:
if (FPath = nil) or (FDisplay = tbFalse) {or (FPath.GetLastStatus <> OK)} then (line 962 of SVG.pas)

from svgiconimagelist.

carloBarazzetta avatar carloBarazzetta commented on May 13, 2024

For RAD_SERVER_Product icon.svg the problem is more complex:
for example the section:
<g id="Camada_3" class="st3">
<g>
<path class="st4" d="M1069.58,1964.76c0,0-184.86,1236.13,1199.79,1512.77c319.84,63.9,1472.02,279.11,1472.02,279.11"/>
</g>
</g>
produce a blue line, because class st4 define the stroke as blue.
But the class st3 used into "id" node define display:none;
Any idea how to fix it?

from svgiconimagelist.

pyscripter avatar pyscripter commented on May 13, 2024

I will submit a PR for this.

from svgiconimagelist.

pyscripter avatar pyscripter commented on May 13, 2024

Please check with the latest PR.

from svgiconimagelist.

pyscripter avatar pyscripter commented on May 13, 2024

Is it OK now?

from svgiconimagelist.

carloBarazzetta avatar carloBarazzetta commented on May 13, 2024

Yes!

from svgiconimagelist.

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.