10-31-2013, 04:17 PM | #301 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
Or if you want to build it yourself, its html code is just this: Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Dashes Test</title> </head> <body style="text-align:justify;"> <p>—This is the reference sentence —whoever exclaimed.</p> <p>—This is AStressTestWithVeryLongWordsAgainstJustification, —whoever exclaimed—. TheStressTest ContinuesHere.</p> <p><i>Now I'm protecting the wrong wrap with the</i> <span style="white-space:nowrap;"> <i>workaround:</i></p> <p>—This is AStressTestWithVeryLongWordsAgainstJustification, <span style="white-space:nowrap">—whoever</span> <span style="white-space:nowrap">exclaimed—.</span> TheStressTest ContinuesHere.</p> <p> </p> <p><b><i>Now the same sentences using</i> &mdash; <i>instead of —:</i></b></p> <p>—This is the reference sentence —whoever exclaimed.</p> <p>—This is AStressTestWithVeryLongWordsAgainstJustification, —whoever exclaimed—. TheStressTest ContinuesHere.</p> <p><i>Now I'm protecting the wrong wrap with the</i> <span style="white-space:nowrap;"> <i>workaround:</i></p> <p>—This is AStressTestWithVeryLongWordsAgainstJustification, <span style="white-space:nowrap">—whoever</span> <span style="white-space:nowrap">exclaimed—.</span> TheStressTest ContinuesHere.</p> </body> </html> I also upload a screenshot from Calibre e-book viewer which shows the right rendering and how the span trick fixes the wrong sentence wrap. Edited---- Hey, what the hell! Here you have a picture directly taken from my Aura HD. In the second sentence the problem is already shown but the third one is just crazy. (The bigger spaces in the third sentence are caused because the span trick doesn't allow "exclaimed" and its "—" being in different lines). Playing with margins and font sizes you can make it more or less obvious. OTOH. Is it possible to take a screenshot directly from the Kobo Aura HD with some trick? (In my old PRS-650, you need PRS+ modified firmware to get it) Look at the new image (IMG_0241.jpg) which uses epub renderer NOT kepub one: <span style="white-space:nowrap;"> has stopped working!!!! Last edited by arspr; 10-31-2013 at 05:18 PM. Reason: More info (a direct picture from the Kobo Aura HD) - AND ANOTHER RELATED BUG |
|
10-31-2013, 07:52 PM | #302 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
Advert | |
|
11-01-2013, 06:23 AM | #303 | |
Member
Posts: 23
Karma: 11516
Join Date: Oct 2013
Device: kobo aura hd
|
Quote:
pls help thanks |
|
11-02-2013, 02:27 AM | #304 |
Member
Posts: 23
Karma: 11516
Join Date: Oct 2013
Device: kobo aura hd
|
i have 2 questions
1)i also have done the sign out procedure and the problem still remains. home screen doesnt update itself automatically. and also sometimes while turning on a vertical black thick line(about 1 inch thick) comes and goes (when only the 5 squares are on the screen). this never happened before although the device doesnt hang. what should i do ?? 2)if i have to do a factory reset should i remove the memory card? should i format the memory card before entering it into the reader after factory reset? how should i deauthorize my account before factory reset so that i dont loose books i downloaded from kobo store? pls help thanks in advance Last edited by rkr; 11-02-2013 at 06:43 AM. |
11-03-2013, 05:14 AM | #305 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
you can simply backup your books attaching the device to your PC with the USB cable and copying the files. It's better to backup also the database and the annotations (in .kobo and Digital Edition folders respectively). For resetting, read here.
|
Advert | |
|
11-03-2013, 09:04 AM | #307 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
The problem there is that html tags are breaking the link between punctuation marks and their partner word. I don't know if this is a bug or just how html is supposed to work. I cannot assure that that behaviour is wrong (even if it seems weird). You should test if you suffer the issue in, let's say, <i>what</i>ever (which should be displayed as whatever). I bet that the renderer is also going to wrap in the middle of the word when necessary. It would be similar to the trick with white-space:nowrap;. I mean, a dash is probably a "possible wrap point" in html standard. So the problem is not in the renderer (which uses html rules) but in the use that Spanish makes of dashes within dialogues. Because of that, I don't claim that wrapping between dashes and their partner word is a bug. I suppose that it is just a conflict between Spanish language rules and html ones (built upon English). But the problem in kepub renderer is that it is breaking "—whatever—" in three different words even in the middle of a line. And I haven't seen this behaviour in any other place but in kepub renderer... And in addition, there doesn't seem to be any way to avoid or modify that behaviour. (While in your issue you can also use the white-space:nowrap; fix). And, in the second bug, the epub renderer is not following the explicitly forbidden wrap through the white-space property... Last edited by arspr; 11-03-2013 at 09:24 AM. |
|
11-03-2013, 09:28 AM | #308 | |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
The various small-caps workarounds are particularly galling in that respect. You wind up with stuff like: Imagine Small C aps Here ...where you don't even get a hyphen, because "C" and "aps" aren't understood to be a single word. Last edited by Rev. Bob; 11-03-2013 at 09:30 AM. |
|
11-03-2013, 09:33 AM | #309 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
|
|
11-03-2013, 10:16 AM | #310 |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Well, no, you can't - or at least, if that works, it shouldn't. The white-space property handles white space, breaks caused by spaces (or linefeeds, et al.) between words. The correct property here would be word-break, which doesn't seem to be supported in EPUB 2 (although -epub-word-break appears to be part of EPUB 3).
Last edited by Rev. Bob; 11-03-2013 at 10:18 AM. |
11-03-2013, 11:36 AM | #311 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
|
|
11-03-2013, 04:51 PM | #312 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
As workaround, try:
Code:
white-space: nowrap !important; word-wrap: normal !important; text-wrap: none !important; text-justify: inter-word !important; |
11-04-2013, 05:32 PM | #313 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
(And by the way I've discovered a completely different one. See next post). |
|
11-04-2013, 05:50 PM | #314 |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Highlights remain AFTER deleting the book
Product: Aura HD Firmware: 2.8.1. (b2c05cda0e, 9/20/2013) Plugins: ??? File types: epubs (I haven't tested on kepubs and it's late) Sideloaded or from Kobobooks: Loaded through Calibre On external SD: No Steps to reproduce:
Workaround: None that I know but deleting highlights BEFORE deleting the ebook. And that can be a PITA because there's no "Delete All" option... (Ideas are welcomed) |
11-04-2013, 06:11 PM | #315 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The problem is that the annotations file is not removed. Annotations for epubs and PDFs on the main memory are stored in the database and in a file. When the book is opened, the file is read and replaces any annotations in the database. Deleting the file before opening the new version of the book should solve this. The file is in "Digital Editions\Annotations". The rest of the path and name are the same as the books path and name with the added extension "ANNOT". Because of the above, it doesn't affect books on the SD card or kepubs. Last edited by davidfor; 11-04-2013 at 06:12 PM. Reason: reduce quoting |
|
Tags |
pocket app |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Probably a Kobo bug. | eXistenZ | Kobo Reader | 19 | 06-13-2014 09:16 PM |
[Old Thread] Bug in downloading metadata | Dasun | Library Management | 3 | 03-21-2011 07:31 PM |
Possible bug or misfeature when a thread is closed | tompe | Feedback | 7 | 10-05-2010 09:38 AM |