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

Support for @import ? #80

Closed
Lassesen opened this issue Jun 7, 2022 · 1 comment
Closed

Support for @import ? #80

Lassesen opened this issue Jun 7, 2022 · 1 comment

Comments

@Lassesen
Copy link

Lassesen commented Jun 7, 2022

This is an integration issue so may not be a Fizzler issue...

None issue for Fizzler... checking source code, it is on the svg side of the house

My situation (generating charts in SVG) requires that the charts being localized to the customers' preferences. and we also have to send EMAILS and Generate PDFs from them. SVG works awesome. This is actually in an ASP Classic Web Site with an added DLL to connect into SVG-net.

During testing, we discovered that the embedded CSS files are ignored (we though there was not a problem because the hard coded colors showed up -- and then realize our mistake).

Is there some toggle that I missed in the documentation???

Example data To reproduce,

    <svg viewBox="-1 -1 983 1093" preserveAspectRatio="xMinYMin" id="svg3" xmlns="http://www.w3.org/2000/svg"> 
         <defs> 
              <style type="text/css"> 
                      @import url('http://BIGRED/UTL-KenProbe/stylesheets/rect.css'); 
              </style> 
      </defs>
       <rect width="200" height="100" stroke="black" stroke-width="6" fill="green" class="blue"/>
    </svg>

For clarity. The css are on the SAME website that is calling into SVG-NET so it is unlikely that it is an access issue.

Used Versions

id="Fizzler" version="1.2.1" targetFramework="net472"
id="Svg" version="3.4.2" targetFramework="net472" on Windows

@Lassesen Lassesen closed this as completed Jun 7, 2022
@Lassesen
Copy link
Author

Lassesen commented Jun 7, 2022

The issue was in SVG-NET

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

1 participant