View Single Post
Old 09-22-2013, 06:12 PM   #28
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by RbnJrg View Post
OK, here is my tutorial.
[...]
Fantastic, worked like a charm!

I went in and added the Green Apple (U+1F34F):

http://www.fileformat.info/info/unic...reen_apple.svg

I also tweaked the SVG file and changed "fill" into the hex for red and green.

Click image for larger version

Name:	AppleSVGFill.png
Views:	383
Size:	46.5 KB
ID:	111843

Sigil:

Click image for larger version

Name:	ColorApples.png
Views:	378
Size:	26.2 KB
ID:	111844

ADE:

Click image for larger version

Name:	ADEApple.png
Views:	394
Size:	34.8 KB
ID:	111856

On Nook:

Click image for larger version

Name:	AppleNookSuccess.jpg
Views:	392
Size:	172.1 KB
ID:	111842

Does this work on Marvin/other devices/reading programs too?

Anyone have any of the Kindles on hand? How well does this transfer over?

Kindle Unpack shows the SVG files sitting in the KF8 version. According to what I read in the Amazon Publishing Guidelines, I am getting mixed signals (SVG only in Kindle Fire (?)).

In section 8.4.2 they recommend using the SVG with an accompanying image. Setting the image to "display:none", and only displaying the image in old MOBI using media queries. UGH:

http://kindlegen.s3.amazonaws.com/Am...Guidelines.pdf

Not much information though on SVG in their documentation.

I also stumbled upon this thread with a formula as SVG, with a sample EPUB plus lots of info:

https://www.mobileread.com/forums/showthread.php?t=87781

Now I want to find more complex SVGs and do some testing.

Quote:
Originally Posted by mtrahan View Post
By the way, for anyone from the future who's looking for the answer, here's a post from Liz Castro, who suggests putting the image in a div and setting the div's width to get the desired size in iBooks (and then set the image to div size to avoid overflow outside of iBooks). I didn't manage to get this working, but for me it's not even an option since my image is in the middle of a sentence and can not be considered as a block like a div. "Currently," I learned on Jutoh documentation, "this won't work if you have multiple images or other content in a paragraph"...
And I bet this "workaround" that people do will be just like those empty spans! Apple will "fix" this bug, and lots of EPUBs which took advantage of this will break. DIE DIE DIE!
Attached Files
File Type: epub ColorAppleTest.epub (50.5 KB, 310 views)

Last edited by Tex2002ans; 09-22-2013 at 06:20 PM. Reason: Added ADE Image
Tex2002ans is offline   Reply With Quote