View Single Post
Old 02-22-2012, 05:24 AM   #1
Chang
Connoisseur
Chang began at the beginning.
 
Posts: 78
Karma: 34
Join Date: Oct 2009
Device: none
SVG style sheets in EPUBs

My conclusion is that ADE and iBooks (webkit) reading systems are unable to read external SVG style sheets. I'm talking about this:
Code:
<?xml-stylesheet type="text/css" href="svg-stylesheet.css" ?>
I was also unable to get inline style sheets working:
Code:
<style type="text/css" >
   <![CDATA[
      .someclass {
         font-size: "25px";
      }
   ]]>
</style>
Only way to get SVG styles to work in ADE and iBooks (webkit) reading systems is to use inline SVG styles, am I right?
Code:
<text font-family="Baskerville" font-size="20">Sample text</text>
People who have used SVG styles in your EPUBs, am I right or just doing something wrong?
Chang is offline   Reply With Quote