Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-31-2010, 09:20 AM   #1
sciurius
Enthusiast
sciurius doesn't littersciurius doesn't litter
 
sciurius's Avatar
 
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
Question (viewer) Erroneous break on quote

In one of my ebooks, I have the following snippet of XHTML:

<p>‘Het eten natuurlijk,’ zei ze. ‘Wat dacht je dan?’</p>
<p>‘Dat was lekker,’ zei ik.</p>
<p>‘Is dat alles wat je ervan vond? Alleen maar lekker?’</p>
<p>‘Het was heel goed,’ zei ik. ‘Het was heerlijk.’</p>

The quotes used for the dialogues are the UTF-8 representations of &lsquo; and &rsquo; respectively. Using the entities instead of the literal characters does not make a difference.

On screen, depending on the display width, the viewer breaks the 3rd line between the question mark and the quote. See http://www.squirrel.nl/pub/xfer/ebook01.png. This is not desired. How can I avoid this?

The viewer is from Calibre 0.7.24 running on Windows XP SP2. I can also reproduce this with the viewer on Linux and with Sigil. I haven't been able to reproduce this with FireFox.
sciurius is offline   Reply With Quote
Old 10-31-2010, 11:23 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That woul be a bug in the Qt webkit rendering engine common to the calibre viewer and Sigil. As far as I know, there is no easy fix for this. Normally I'd have told you to enable the hyphenation in the calibre viewer, but another bug in Qt webkit means that soft hyphens are not rendered at a line break, which makes hyphenation useless.

ou just have to wait for Nokia to get around to fixing these bugs (which were reported to them over two years ago).
kovidgoyal is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
PRS-300 displaying erroneous question marks debiasir Sony Reader 4 08-07-2010 10:53 AM
Unutterably Silly Fave Quote from the Weekend nomesque Lounge 12 08-09-2009 08:22 PM
Quote Hunter brewt Workshop 3 01-05-2008 08:02 PM
cannot post or quote Aprilbeginnings Sony Reader 21 07-23-2007 06:15 PM


All times are GMT -4. The time now is 07:50 PM.


MobileRead.com is a privately owned, operated and funded community.