09-13-2013, 06:23 AM | #16 | |
Connoisseur
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
|
Quote:
Have I at any point said I needed to adjust anything other than the theme colours and font? Changing the colours is great for reading in different conditions and I prefer to choose a font in my reader rather than embed one. I read my books on a Sony, Nook, and in Marvin so using a font installed with the reader seemed like the better, more widely supported choice. As for your insistence that my CSS is being reinterpreted, I'm wondering if the 0.75 value is being floored down to 0. I'll have a read through the Github issue when I'm not procrastinating on my iPad. |
|
09-13-2013, 06:43 AM | #17 | |||
pokrývač kridiel
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
|
Quote:
Most of all, though, this entire thread is irrelevant for 99.99% of Marvin users out there. We are talking about publisher vanity here, not a regular reader issue. Please don't take this as a criticism of your person -- I'm just calling it what it is. You have created some e-books, and are upset they do not instantly display 100% as you wish to see them displayed. 99.99% of Marvin users don't have those issues, because they don't publish e-books -- they have no idea that e-books contain any code. What 99.99% of Marvin users, ordinary readers, care about, is whether they can fully adjust the display of e-books to suit their personal preferences, and in Marvin, they can. They couldn't care less about the publisher's preferences, nor should they care. Quote:
Quote:
I'm no CSS expert, just an amateur, and please correct me if I'm wrong, but as far as I'm aware, the default paragraph spacing in HTML is a half-line, or 6 points, which would be 1em. You now wish to further decrease that by 25%, so your preferred paragraph spacing appears to be 4.5 points. That's such tiny paragraph spacing, that "Marvin's formatting" may well decide it's so close to zero it might as well initially display it as zero, and I believe that's a legitimate, common-sense interpretation. After all, anyone can easily bump up the zero spacing to something else, if they dislike the zero paragraph spacing. (And I'm with you on that -- I hate it, too.) Last edited by Faterson; 09-13-2013 at 06:48 AM. |
|||
Advert | |
|
09-13-2013, 07:21 AM | #18 | ||||
Connoisseur
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
|
Quote:
Quote:
I don't know why you insist on referring to me as a publisher, I'm not. I just tweak my ebooks to how I want them, it saves (usually) having to change setting on numerous ebook readers. Quote:
Of course I read books by other people, I can't be the only person that runs a book through Calibre and swaps out the crap publisher formatting with their own. I've seen people mention doing this plenty of times on Mobile Reads. Quote:
I don't know where you would be using points in CSS. Last edited by m00min; 09-13-2013 at 07:25 AM. |
||||
09-13-2013, 07:29 AM | #19 | |
Addict
Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
|
Quote:
|
|
09-13-2013, 07:43 AM | #20 | |||
pokrývač kridiel
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
|
Quote:
Quote:
Quote:
I think I know where the root of all of your struggles lies, m00min: you use reading devices from various platforms, and wish that your books would display pitch-perfect on every platform, even when they are so wildly different as iOS, Nook, and Sony. Good luck with that effort. I'd just give up instantly, choose the preferred platform for me from among the 3, and abandon the other 2, because it's just not worth the struggle. It actually is what I did: I gave away all my Kindle devices after Marvin was released, so that I could switch to reading e-books in Marvin "full-time", instead of struggling with idiosyncracies of the various conflicting platforms. All of that said, m00min, if you do feel strongly about having to readjust paragraph spacing manually, visit GitHub and request Kris to add a switch among Marvin's advanced settings: Always override publisher's paragraph spacing when launching new books? YES/NO It would be an advanced setting that could potentially produce ugly results (as Kris explained), but then again: the damage would be "self-inflicted" by anyone who voluntarily selected YES in that switch. And if YES was selected, you would never again need to re-adjust paragraph spacing, either, when using "Marvin's formatting", which is what you wish to achieve, right? My general advice is to forget about Marvin's "Publisher's Settings" switch because, as you can see, it can create lots of confusion. At this moment, I don't think that books as displayed by Marvin with the "Publisher's Settings" activated, are "fit for reading". There really is no way of customising that view -- and if you did customise it, would those truly be publisher's settings any longer? Again, you might request from Kris to make it possible, as an option among Marvin's advanced settings, to adjust font types and colours and Night Mode (but nothing else) even while viewing "Publisher's Settings" in Marvin... but then someone else might arrive, requesting even more customisable features to be enabled in alleged "Publisher's Settings"... and the difference between "Publisher's Settings" and "Marvin's formatting" would get blurred, and gradually all but disappear. |
|||
Advert | |
|
09-13-2013, 07:57 AM | #21 |
Connoisseur
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
|
It's not actually any one book, it's the CSS that I tend to swap into any ebooks I buy. I can knock together a test book showing issue if that would be helpful. Though if I'm being overly picky about this stuff please feel free to tell me that, the other guy has. Repeatedly. :P
|
09-13-2013, 08:38 AM | #22 |
Connoisseur
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
|
Ok, I've adjusted some of my CSS. When I use this:
Code:
margin: 0 0 0.75em 0; But when I switch to this: Code:
margin: 0.75em 0 0 0; Does Marvin only take the margin-top value? If so I can switch my stylesheet around easily enough. |
09-13-2013, 08:50 AM | #23 |
pokrývač kridiel
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
|
I can confirm this bug based on my EPUB test file...
Take a look at the 2 screenshots below. They show the same page from the EPUB test file, as displayed by Marvin and Stanza. (Here is the original HTML file.) Marvin's display is not just terribly bland compared to Stanza's, but Marvin only respects the top-margins of the headings as specified by CSS, while ignoring the headings' bottom-margins. It's a definite bug that should be fixed. Last edited by Faterson; 09-13-2013 at 08:59 AM. |
09-13-2013, 08:59 AM | #24 |
Connoisseur
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
|
Hehe, ok. Looks like I definitely need to swap over my margin settings then, which I don't mind doing as it's a really nice reader app. I just don't edit it very often as I've got something that works across Nooks, Kobos, Sonys, and *cough* iBooks */cough*.
|
09-13-2013, 09:13 AM | #25 | |
pokrývač kridiel
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
|
Quote:
(PS: When I say it's "my" EPUB test file I don't mean it's my code... It's a random dilapidated file I found somewhere years ago, full of fake bulleted lists and all, and this year I proceeded to cram every possible formatting feature into it, to see how Marvin would do with the file compared to Stanza, my previous preferred iOS e-reader. Stanza is still winning at this point, in terms of the display of this particular EPUB file, although it gets many things in it wrong, too.) |
|
09-13-2013, 10:09 AM | #26 | |
Connoisseur
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
|
Quote:
I think I've got typical developers laziness, my attitude is: why press buttons and settings when I can write it once and never think about it again. It bit me in the ass this time. |
|
09-13-2013, 10:25 AM | #27 |
pokrývač kridiel
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
|
With headings, though, margin-top tends to be used primarily (though not exclusively) because headings typically follow on ordinary text (ordinary paragraphs), and it would be bad practice to attach spacing as attribute of the final paragraph of ordinary text preceding the heading.
In any case, Marvin should properly support both margin-bottom and margin-top, even within "Marvin's formatting". Now that we're tracking this on GitHub (I've attached your finding to that particular issue and updated its title to refer to spacing besides colour attributes), it can be expected Kris will fix this sooner or later. |
09-13-2013, 10:28 AM | #28 | |
Addict
Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
|
Quote:
|
|
09-13-2013, 11:17 AM | #29 |
Connoisseur
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
|
I've just seen the iPad version has gone live. Updated and tested a book again and now the CSS margin-bottom seems to be working correctly. Seems you've inadvertently fixed it.
|
09-13-2013, 12:35 PM | #30 |
pokrývač kridiel
Posts: 1,525
Karma: 3300000
Join Date: Oct 2011
Location: Bratislava, Slovakia
Device: 3*iPad, SamsungNote & Tabs, 2*OnyxBoox, Huawei 8″, PocketBook
|
There's nothing "inadvertent" about that -- like I've been saying, Kris has been actively improving rendering fidelity all along, in every successive Marvin version.
Absolutely: spacing is now also fixed in my EPUB test file. See the screenshot below, and compare it with the screenshot of the same passage I have posted just a few posts earlier, above. This was likely fixed in the latest round of Beta-testing prior to Version 2 release. That's some miracle-speed bux fixing, eh? You report it, and before you know it, it's fixed! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[KOBO] Strip existing formatting to apply my own default formatting to all books | digital_steve | Calibre | 2 | 08-10-2010 06:34 PM |
Text formatting | jerrywojo | Ectaco jetBook | 4 | 01-19-2010 03:37 PM |
help with formatting text files | chooky | Workshop | 2 | 11-26-2009 04:16 AM |
Saving Formatting Doc -> LRF? | jaxx6166 | LRF | 3 | 03-08-2009 09:06 PM |
Text tool for formatting Gutenberg text files | bob_ninja | Workshop | 5 | 11-13-2007 12:28 PM |