You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>And the inexplicable <i>f‑r‑r‑r‑r</i> seemed to sweep along below it.</p>
The same line in kepub (se):
<p><spanid="kobo.12.1" class="koboSpan">And the inexplicable </span><i><spanid="kobo.12.2" class="koboSpan">f-r-r-r-r</span></i><spanid="kobo.13.1" class="koboSpan"> seemed to sweep along below it.</span></p>
The same line in kepub (kepubify):
<p><spanclass="koboSpan" id="kobo.5.1">And the inexplicable </span><i><spanclass="koboSpan" id="kobo.5.2">f‑r‑r‑r‑r</span></i><spanclass="koboSpan" id="kobo.5.3"> seemed to sweep along below it.</span></p>
The changes seem structurally the same; only numerical IDs are different.
Again, this is an issue with the renderer used by Kobo. When you open a regular epub, you trigger the ADE renderer which is very limited. When you open a kepub, you trigger their advanced renderer which is based on Webkit. The two renderers will render the same epub in very different ways and that's a Kobo problem.
Since you already have the test cases lined up, why don't you continue digging to see exactly which difference is causing these issues?
Symptom
When the kepub (se) build is viewed on a kobo device, there's extra white space included after a word containing non-breaking hyphens.
The same issue is not observed on the epub build or the kepub build created using kepubify.
Correct:
Incorrect:
Complete test case available on this branch: https://github.com/Kos/jules-verne_robur-the-conqueror/tree/whitespace-rendering-test
XHTML differences
Example line in source and epub:
The same line in kepub (se):
The same line in kepub (kepubify):
The changes seem structurally the same; only numerical IDs are different.
CSS differences
core.css
has some ines removed in kepub (se):core.css
is unchanged in kepubify.se.css
has some adjustments in kepub (se):se.css
is again unchanged in kepubify.testcase.xhtml
has some css added by kepubify, but it looks irrelevant:The text was updated successfully, but these errors were encountered: