06-28-2016, 09:53 AM | #1 |
Wizard
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Possible bug with negative text-indent?
I have a commercial epub that displays paragraphs with text-indent: -1em differently between M2 and M3. M3 is truncating from the left (see first attachment), whereas M2, ADE and Calibre viewer do not truncate.
The attached Test - ShellShock.epub demonstrates the problem (the first paragraph). Test - ShellShock.epub I am not sure what the correct behaviour should be? Is M3 correct and the other viewers wrong? |
06-28-2016, 06:43 PM | #2 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
Yes there is an issue that affects at least certain uses of indents like hanging; not sure about padding or a combination. I've also sent some sample ePubs. Hopefully it's not too difficult to fix.
|
Advert | |
|
06-29-2016, 06:23 PM | #3 | |
Addict
Posts: 281
Karma: 1546488
Join Date: Jan 2016
Device: ipad
|
Quote:
A good test case. The actual text-indent of an HTML element should be relative to that of its parent (and recursively). Another way to see who's right is by unzipping the test case, and opening the relevant HTML file in your favorite desktop browser. |
|
07-03-2016, 06:44 AM | #4 | |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
I don't remember if it's been mentioned, but since it's related to this perhaps by how the CSS is modified, the fix might be related as well.
In various ePubs, as well as one I'm working on now, quotes are inside a margined div and set to a smaller font: Quote:
Last edited by democrite; 07-03-2016 at 08:20 AM. |
|
02-21-2017, 06:05 PM | #5 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Don't expect this issue to be fixed. I reported that a text-indent of 0 doesn't work and it's been ignored.
|
Advert | |
|
02-21-2017, 06:31 PM | #6 |
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
|
Unfortunately, Marvin isn't being consistently developed (only occasionally now, it seems), the official bug-tracker at GitHub has been pretty much dead/ignored for a couple of years now... so, we shouldn't really expect anything from the app from now on. I know I don't. If Kris one day finds the time again to improve something in Marvin (however, quite a few things got worse in Marvin 3 compared to earlier Marvin versions, although overall, Marvin 3 is an improvement...), that will be a great and unexpected bonus for me. And no, I'm not "blaming or shaming" anyone – just stating the facts. I have full understanding for the fact that there apparently is no livelihood to be earned from developing a top-quality e-reader app. And so, we must be content with approximations (very rough, in many respects) to the ideal.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Text Indent | copaw | Editor | 10 | 11-09-2014 11:44 AM |
Bug converting html css text-indent and left-margin | bhoyt | Conversion | 15 | 01-24-2014 07:28 PM |
Cannot get rid of text-indent | dawood | Conversion | 3 | 10-21-2013 10:10 PM |
Hacks Appeal For Negative Kindle Text Hack/Control/Setting | vugtitan | Amazon Kindle | 20 | 10-04-2010 12:29 PM |