Thread: Kobo Bug thread
View Single Post
Old 03-07-2014, 01:13 PM   #410
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,324
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Nick_1964 View Post
Product: Kobo Aura HD
Firmware: 3.1.1
Plugins: no
File types:Epub
Sideloaded or from Kobobooks:Sideloaded
On external SD:no
Steps to reproduce: just load

Current result: none
Workaround: edit epub.

I have a couple of books that makes breaking at the end of the line not good, it breaks in the middle of the word.
The mistake is the use of <font>a</font> everywhere.
In Calibre and Sigil the book is displayed correct.
Example:
Spoiler:

Met een rotgevoel smeet Stevie R<font>a</font>e de deur v<font>a</font>n de <font>a</font>bdij <font>a</font>chter zich dicht en liep de ijzige nacht in. Ze w<font>a</font>s eigenlijk niet kw<font>a</font>ad op Zoey of op die super<font>a</font><font>a</font>rdige, zij het enigszins <font>a</font><font>a</font>n w<font>a</font>anideeën lijdende non. Eigenlijk was ze op niemand kwa<font>a</font>d beh<font>a</font>lve op zichzelf.</p>

<p class="zenoplat" xml:lang="nl">‘Verdikkeme! Ik h<font>a</font><font>a</font>t het dat ik er zo’n puinhoop van m<font>a</font>ak!’ schreeuwde ze tegen zichzelf. Ze had het gevoel dat ze een berg shit stond weg te gr<font>a</font>ven, maar dat ze er steeds dieper in wegzakte, hoe h<font>a</font>rd ze ook schepte.</p>

<p class="zenoplat" xml:lang="nl">Zoey w<font>a</font>s niet gek. Ze wist dat er iets a<font>a</font>n de h<font>a</font>nd w<font>a</font>s. Dat w<font>a</font>s overduidelijk, maar Stevie Rae wist niet wat ze moest doen. Er w<font>a</font>s zo verschrikkelijk veel om uit te leggen. Hoe moest ze hém uitleggen? En ze h<font>a</font>d echt niet gewild d<font>a</font>t het allemaal was gebeurd. Vooral niet dat gedoe met de R<font>a</font><font>a</font>fspotter. Verdikkeme! Voordat ze hem had gevonden, op sterven na dood, h<font>a</font>d ze het zelf niet eens voor mogelijk gehouden. Als iemand het h<font>a</font><font>a</font>r van tevoren h<font>a</font>d verteld, zou ze lachend hebben gezegd: ‘Ben je gek, d<font>a</font>t gebeurt écht niet!’</p>
I'd say the creator of this ebook was extremely sloppy. Also keep in mind, that HTML 5 no longer supports the <font> tag and in HTML 4.0.1, using the CSS directives was preferred to separate markup and visual styling. The sloppiness is that the <font> tag is used to specify the font face, font size, and font color of text so a <font> tag without any specifiers is just a waste of space. I'd suggest using either Sigil or Calibre's editor to remove all the <font> and </font> pairs.

Now if we are going to discuss Kobo's habit of allowing breaks at tags, that's a whole different issue despite the specification seeming to indicate that this is allowed.

Regards,
David
DNSB is offline   Reply With Quote