12-06-2013, 08:54 PM | #61 |
A curiosus lector!
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
|
Sorry off topic!
¡Hola!Ruben, tu eres un verdadero gentleman! La mayor parte de tus soluciones son eficaces (incluso para ePub), y esa siempre es un placer para descubrir lo que tu inventó para resolver los problemas que son presenten a ti. Gracias and sorry for my bad spanish! Last edited by Arios; 12-06-2013 at 09:23 PM. |
12-07-2013, 07:54 AM | #62 | |
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Thank you very much for your kind words! I'm really glad that some of my codes could help you with your ebooks. And your spanish is by far much better than my english. Many thanks again. |
|
12-07-2013, 01:44 PM | #63 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Wow, I read through all the replies here, and my first reaction was that Amazon (and Kindle) seems so incredibly daunting that all I wanted to do was give up on even bothering to try, and just crawl back into bed and lie there in a fetal position!
But then I mustered up my courage (and curiosity), got a second wind, went and downloaded/installed KindleGen, Kindle Previewer and Kindle for PC, and then opened up my ebook -- i.e. that first one I did (with that "olde" second-half), not the one I've been referring to here re this background image question -- and checked it out to see just how badly it would fall apart. Well! Despite my apprehension that nothing would work right, on the contrary I'm amazed that -- for the most part -- everything seems to look just fine! To summarize... - In all three Kindle Fire tabs, everything seems just "perfect"! I haven't gone over it all with a fine-tooth comb, but as far as I can see everything is just fine, no problems that I can "see". - In Kindle Paperwhite, things seem surprisingly just fine, too. Obviously the embedded fonts don't work, but even still that "olde" part seems to work out okay. The only real issue that I see is where I'd used two embedded ornaments, which now show up as letters instead, but I think that could be resolved by going into Font Forge and putting those ornaments that I wanted to use into different slots. For example, I'd used a nice, fancy ornament underneath my chapter headings, and right now that ends up coming out as the letter "d" -- but I could put that in the slot for the em-dash (or something) instead and then it wouldn't look so bad. Well, better, at least. - in KindleDX, none of my full-page images show up -- but I suppose those people simply won't know what they're missing (and I can only presume are used to stuff being "missing" anyway). The only real issue that I see with other images are the images I'd used as dropcaps, which don't resize down to a reasonable size and are HUGE (comparatively)... but once again, I would assume that people on that platform are used to things often looking "funny" in that sort of way? I realize that it would be nice to have things degrade gracefully for certain platforms (or older devices), but to what extent do we sacrifice all the nice things we can do with more modern devices just to accommodate those older devices -- especially considering that people using those must surely be used to seeing lots of "crap"? And even the issues that I do have with that book of mine don't seem THAT drastic (and the issue with that embedded ornament font I could surely resolve in the way that I mentioned). So I don't know -- as usual. With that first book of mine, that people kept saying over and over and over again that it "Will never work in Kindle", at least as far as viewing it in Kindle Previewer goes it seems to work out either perfectly (as far as I can see) or at least reasonably, forgivably okay (oh, and also in Kindle for PC it's virtually "perfect"). So now what? I haven't tried out my second book yet -- where I was using that background image for each/every chapter, and I presume from what people have been saying that aspect of it will just fall apart (in some Kindles, anyway) -- but as far as my first book goes, with it having seemed to come out just fine, really (with a couple of small, easy fixes in Font Forge), am I missing something? I know this is off-topic from the original thread here -- let alone the book that I was talking about for that issue -- but if my first book seems to work fine, what's to prevent me from just going ahead and getting an account with Amazon and loading 'er up there (i.e. this mobi file that KindleGen made)? |
12-07-2013, 02:35 PM | #64 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Also: your embedded font should work on Paperwhite, if it's working on the Fire Devices. Fire and Paperwhite are K8. DX is still, I think (anyone know? This is one of the few devices I don't actually have), K7. If you want to send me your file to test on a K7 device, I can do that for you, but I can't imagine that it could possibly work on a K7, unless my mind is finally, after 5 years of this, utterly broken. BTW: No, people with Kindles, Kindle2's and DX's aren't "used to things often looking 'funny' in that sort of way." Hitch Last edited by Hitch; 12-07-2013 at 02:37 PM. Reason: Added the "BTW" about how accustomed older device owners are to seeing imperfect content. |
|
12-07-2013, 03:02 PM | #65 | |||||
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
Quote:
@media amzn-kf8 { ... Here must be all styles for kf8. ... } And styles you want to be used by old Kindle devices must be enclosed between: @media amzn-mobi { ... Here must be all styles for mobi. ... } You can see an example of the use of media queries in this post: https://www.mobileread.com/forums/sho...66&postcount=6 Quote:
Quote:
|
|||||
12-09-2013, 01:19 PM | #66 | |||||
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Thanks, Hitch and Rubén, for your replies! I'll respond to both your comments here, below...
Quote:
Quote:
On to Rubén's response... Quote:
I remember that when I first made my original epub, I had to manually insert a "com.apple.ibooks.display-options.xml" file in there in order to get the embedded fonts to display in iBooks -- do I have to do something similar for Kindle, too? Quote:
I don't think the issues I'm having are with styles so much, though, but rather with figuring out how to deal with whether the fonts embed... or not. That shouldn't be too difficult to deal with, but what I'm not sure how to deal with at this point is the various full-page SVG images that I have. As my book is, I have a nice page giving credit for the illustrations -- "Illustrated with the paintings of Lucie LeBel". That page shows up just fine -- it's just plain ol' HTML -- but naturally it won't make sense to people if they then don't actually see any of those paintings! Mind you, as I was writing this last paragraph, it occurred to me that perhaps you gave a solution that might work. With regard to those full-page SVG images, do they work in kf8, but don't work in mobi? Mind you, what I'm previewing here is a ".mobi" file -- I'm not sure if I get this. But anyway, if that's the case, then I suppose I could include a class so that that line -- "Illustrated with the paintings of Lucie LeBel" -- is basically just hidden from view in mobi devices, and then people won't wonder why they don't see them. Does that sound like a good -- and workable -- solution? Quote:
With regard to converting my original epub (designed essentially for iBooks/ADE), is the only thing that I really need to do just simply to plop that file in KP and let it convert it, and that's basically it? Because if that's the case, then I wonder if I could just have my original CSS file (which would effectively fulfil that "@media amzn-kf8" need) and then add in that "@media amzn-mobi", with whatever adjustments are necessary. Wouldn't I then have one, single epub file (as a "base" file) -- and not a whole bunch of different files/versions -- that I could upload to iBooks, etc. as well, and then easily convert for Kindle? Know what I mean? Hope that makes sense. |
|||||
12-09-2013, 03:00 PM | #67 | ||||||||
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Regards Rubén |
||||||||
12-09-2013, 03:39 PM | #68 | |||||
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
To answer your question, though, I did use custom fonts in those full-page images with text on top (as you showed me how to do) and didn't insert any extra font-related code -- and my embedded font showed up just fine in them! At least, in iBooks and ADE -- I haven't looked at that file in KP yet. And there doesn't seem much point in bothering now, since no doubt those chapter titles simply won't work in mobi -- and my book would be pretty silly if all the chapters didn't have chapter titles. :/ Like I said, I think I'll just come up with a simpler way of doing those chapter titles up -- and with any luck it'll still be nice, of course. Quote:
If there is a way, I wouldn't know how to go about that. My full-page SVG images are reasonably hi-res (basically they're all 1200x1800 in size), but if I wanted them to show up in a "simpler" device, I suppose I'd then also have to include a smaller version as well? I really have no idea! I had pretty much resigned myself to those full-page images showing up nicely -- if not perfectly -- in iBooks, ADE and kf8, but not at all in mobi devices, and just figured that that was what I'd be stuck with. Quote:
Quote:
Quote:
Is there some code that I have to insert (like I had to in order for my fonts to show up in iBooks)? Thanks again, Rubén! |
|||||
12-09-2013, 05:23 PM | #69 | |||||||
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
http://web.sigil.googlecode.com/git/...bed_fonts.html Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||||
12-10-2013, 08:29 AM | #70 | ||
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Good morning, Rubén! I have a bunch of stuff to do today, so I'll have to take a closer look at the link you gave (re embedding fonts in Paperwhite) later, but I'm just a bit confused still about one part of what you (and I) wrote.
I had written... Quote:
And then I wrote... Quote:
I'm still not quite sure if I understand this here. As things are, my full-page SVG images are showing up okay in Paperwhite -- at least, the KP version of Paperwhite -- and seem to come out just fine, "full-page" and everything (although they come out in grayscale, of course, not in colour). I don't understand: what is it that needs to be changed or "fixed" here, if it seems to be working okay? Sorry, I just woke up, the coffee hasn't kicked in yet, but I have to get going and don't have time right now to think about this too much -- I hope I'm not just being "sleepy" (and dumb)! |
||
12-10-2013, 08:55 AM | #71 | |
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
12-11-2013, 03:48 AM | #72 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
12-11-2013, 08:47 AM | #73 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
And with that said, I'm still very, very appreciative and grateful for all the time that Rubén (especially) and others put into teaching me about that -- it's still very nice to know and have learned! Thank you so much for that (once again). With that said, though, all I've been talking about in my last few posts is NOT having chapter titles with background images w/text on top, but rather just images alone, done up to display full-page using SVG -- never mind the text on top. When I look at my first book, that "Imaginary Friend" one that went up on the iBooks store last week, and plop it into Kindle Previewer, all the full-page SVG pictures seem to show up just fine in Paperwhite -- so as far as I can see, that method of getting images to display full-page (and display at all) seems to work just fine in all versions of Kindle, except for KDX (for which they don't display at all). I can see/understand that I would need to do up code like you both suggested in order to get those images to show up in KDX, but I guess what's confusing me is your saying I have to do something to get them to show up in Paperwhite -- when, as far as I can tell, they're showing up just fine in that. Remember, I'm just talking about images (alone) done up with SVG so that they'll display full-page here -- there's no text on top of them, they're just "pictures" and nothing else. |
|
12-11-2013, 10:18 AM | #74 | |
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
EDIT: In the ePub, instead of using the media queries "@media amzn-kf8" and "@media amzn-mobi", I'm employing "@media not amzn-mobi" and "@media amzn-mobi". I do of this way, because by using "@media not amzn-mobi" all the code under this section is applied not only for kf8 but also for ADE and iPad Last edited by RbnJrg; 12-11-2013 at 10:42 AM. |
|
12-11-2013, 10:47 AM | #75 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
However, I've attached here screenshots of how your epub looked in iBooks and in ADE. In iBooks, as you can see the "by Author" text comes out all funny, but even worse is ADE -- I don't get one page, but two pages! I've attached screenshots of both of those pages here. I guess this is why I've given up on this, putting my chapter titles on a background image. I'm sure you'd probably be able to come up with a way that works, but it's all just too "buggy" for me, I think I'll just go a different way, and keep my chapter titles simple (i.e. "plain text", maybe with a nice picture ornament or something). I guess my only concern/interest now is with regard to full-page images -- no text on top, just images -- and getting those to work okay. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle paperwhite crop background-image on top/bottom | j.puff@ppp.eu | Kindle Formats | 2 | 08-28-2013 11:58 AM |
Kindle paperwhite crop background-image on top/bottom | j.puff@ppp.eu | Kindle Developer's Corner | 1 | 08-26-2013 06:02 PM |
iBooks: Text overflowing image if it's at top of screen. | Oxford-eBooks | ePub | 30 | 05-10-2013 12:56 AM |
Image overlayed over text (but text visible if image disabled)? | Kaylee Skylyn | ePub | 5 | 08-01-2012 05:27 PM |
Background image | djrulz | Kindle Formats | 1 | 03-29-2011 04:51 PM |