Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2013, 12:17 PM   #1
elibrarian
Connoisseur
elibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheese
 
elibrarian's Avatar
 
Posts: 56
Karma: 1110
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: Sony PRS-T1, iPad
Illustrations with interposed text

Hi all -

I am presently experimenting with an illustrated epub (v.2.0), and have come up with this code to show and scale the images, and place (likewise scaled) text upon them.

Code:
  <div class="svg_outer">
    <div class="svg_inner">
      <svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 600 649" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
        <image alt="Svend: Her står jeg! Kom med strålen -" height="624" width="600" xlink:href="../Images/image18.jpg"/>

        <text font-size="1.3em" style="font-style: italic;" x="100" y="639">Her står jeg! Kom med strålen -</text>
     </svg>
    </div>
  </div>
Which renders like this in Sony Reader (for PC, but that shouldn't matter):




It looks ok on the Sony Reader, ADE 2.0 and Ipad, but I wonder if there might be any issues with it?

Regards,

Kim
Attached Thumbnails
Click image for larger version

Name:	sample.jpg
Views:	111
Size:	32.4 KB
ID:	102881  
__________________
eBooks in Danish since 2002
www.ebib1800.dk
elibrarian is offline   Reply With Quote
Old 03-14-2013, 02:03 PM   #2
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,023
Karma: 1118807
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
What happens when you increase print size?
mrmikel is offline   Reply With Quote
 
Enthusiast
Old 03-14-2013, 03:11 PM   #3
elibrarian
Connoisseur
elibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheeseelibrarian can extract oil from cheese
 
elibrarian's Avatar
 
Posts: 56
Karma: 1110
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: Sony PRS-T1, iPad
It's an epub - it scales on the screen, image and the text in the svg-wrapper simultaneously. Print is not important.

regards,

Kim
__________________
eBooks in Danish since 2002
www.ebib1800.dk
elibrarian is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creator Table of Illustrations Caroline Schmutz Mobi 5 11-29-2011 03:51 PM
Touch Issue with illustrations tsb1 Kobo Reader 0 11-29-2011 03:35 PM
'Floating' illustrations lindsayw Workshop 10 08-31-2011 10:33 PM
Illustrations for E-books jodykihara Workshop 5 03-24-2011 07:55 PM
ePUB and Illustrations pdurrant ePub 11 07-28-2009 06:07 AM


All times are GMT -4. The time now is 08:40 PM.


MobileRead.com is a privately owned, operated and funded community.