View Single Post
Old 07-17-2013, 05:36 PM   #7
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 450
Karma: 318994
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Tex2002ans View Post

Mind putting up a sample SVG EPUB with working code?
Below you can see an epub with a SVG image used as a fleuron. Instead of embedding a full font file; I saved some glyphs as SVG images. Why do I use a SVG image instead of a .png image? A .png image of the same fleuron used in this epub is about the half in size regarding the SVG image but when you change the size of the book font, the quality of the svg image is perfect. One more word: the method I have employed in this epub doesn't work in ADE (in my Kindle works great). ADE doesn't support the pseudo-class "after"; so, if you want to use the svg image in ADE you should inserted by employing the <img> tag:

<p><img alt="Fleuron1" src="../Images/Fleuron1.svg"/></p>

Of course, you can style the "container" <p> as you wish.

Regards
Rubén
Attached Thumbnails
Click image for larger version

Name:	screen_shot-9206.gif
Views:	74
Size:	30.9 KB
ID:	108333  
Attached Files
File Type: epub SVG Fleuron.epub (5.5 KB, 55 views)

Last edited by RbnJrg; 07-17-2013 at 05:45 PM.
RbnJrg is offline   Reply With Quote