Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Marvin

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2019, 06:52 AM   #1
AliceWonder
Connoisseur
AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.
 
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
New user w/ question

Yesterday someone gave me an older iPad.

I installed and paid for Marvin 3 to test a couple ePub books I'm working on. Also tested in iBooks but Marvin seems popular in iOS so I thought I should test with that too. And the other iOS ePub readers are too snobby to work with older iPads.

It seems Marvin 3 doesn't handle images inside paragraphs well. For example:

Code:
<p>On Linux if I were to recommend a text editor it would likely start a holy war <img src="images/sarcasmSmil.svg" alt="[sarcasm smiley]" class="emoji" /> so I will refrain from doing so.</p>

with this css

img.emoji {
	display: inline;
	height: 1em;
}
Works in other readers but in Marvin it ends up displaying the image scaled to screen width instead of scaled to height of 1em.

Is this something I can workaround in my ePub source or is it something that I am just going to have to accept isn't going to work in Marvin?
AliceWonder is offline   Reply With Quote
Old 09-13-2019, 04:13 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Very few readers/apps do well with the "height" property...something about not knowing to which height the property refers (screen height, document height, container height, etc.)

Change your CSS to read:
img.emoji {width:1em} /* or whatever you need to make the dimensions correct */

Marvin works fine with that...I use it all the time.
Turtle91 is offline   Reply With Quote
Old 09-13-2019, 04:46 PM   #3
AliceWonder
Connoisseur
AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.
 
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
Thank you! It works perfectly that way.
AliceWonder is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Dictionary Question MerlinMama Editor 2 03-03-2015 06:48 AM
Question from new User Timmie Calibre 2 08-15-2010 06:34 PM
New user and a question bluelight Sony Reader 26 06-19-2008 05:21 PM
Question from a new user rb49 Sony Reader 3 02-15-2007 08:18 AM


All times are GMT -4. The time now is 02:58 PM.


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