Thread: Pure SVG covers
View Single Post
Old 06-13-2014, 09:26 PM   #2
RbnJrg
Wizard
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: 1,825
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jcsalomon View Post
For a simple book I’m working on, there’s no real cover image, just text and geometrical shapes. So I was thinking to build the cover entirely in SVG, something like this:
Code:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
  'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns="http://www.w3.org/1999/xhtml">

<head><title>Book Title</title></head>

<body>
  <svg xmlns="http://www.w3.org/2000/svg" height="540" width="360">
    <!-- stuff goes here, with words in <text> elements -->
  </svg>
</body>
</html>
I haven’t found any examples of this on the forums here—or anywhere else, for that matter. Is my google-fu weak on the subject, or is there a good reason to keep away from this idea that everybody but me already knows?
Read this post:

https://www.mobileread.com/forums/sho...2&postcount=21

It's about a svg title page but is the same for a svg with "graph" (that is, svg graphs like circles, squares, rectangles, etc., etc.). Just replace the <text> tags with the proper ones (those you want to use).

Regards
Rubén
RbnJrg is offline   Reply With Quote