10-31-2010, 09:20 AM | #1 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
(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 ‘ and ’ 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. |
10-31-2010, 11:23 AM | #2 |
creator of calibre
Posts: 44,022
Karma: 22669822
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). |
Advert | |
|
|
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 |