CSS for inlined SVGs

View: New views
2 Messages — Rating Filter:   Alert me  

CSS for inlined SVGs

by Bjoern Tischer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi fop-users,

is there a way to reference a .css file to be used for rendering
svg content inside <fo:instream-foreign-object> tags ?

This doesnt work:

<fo:instream-foreign-object>
        <?xml-stylesheet href="dgram_style.css" type="text/css"?>
        <svg:svg  x="0mm" y="0mm" width="151mm" height="89mm"
overflow="visible"> ...
</>

and I dont want to use
   <svg:defs> <svg:style> css_content  </> </>
since there are a lot of svg inlined using the same css ....

Thanks in advance
bjoern

--------------------------------------------
QuaSi-Niere gGmbH
Joachimstaler Str. 15
10719 Berlin
Tel: 0 30/311 86 100
Fax: 0 30/311 86 111

im Internet: <http://www.quasi-niere.de>
 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: CSS for inlined SVGs

by Sepp1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

have anybody found a solution?
I have the same problem and I am not sure if I make a mistake or if it is not possible to reference an external css-file

Greetings
Sam