Bug 335975 - mobi file is not fully displayed
Summary: mobi file is not fully displayed
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: mobipocket backend (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-08 22:17 UTC by Nerijus Baliūnas
Modified: 2021-02-01 12:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
epub file (displays correctly) (985.76 KB, application/epub+zip)
2014-06-08 22:19 UTC, Nerijus Baliūnas
Details
mobi file (displays incorrectly) (807.69 KB, application/x-mobipocket-ebook)
2014-06-08 22:19 UTC, Nerijus Baliūnas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nerijus Baliūnas 2014-06-08 22:17:06 UTC
(I'd suggest adding mobi or mobipocket backend to bugzilla)

Attached epub file is displayed correctly, while mobi lacks some parts of text. For example, page 10-11 has the text in epub:

"– Tikrai? Buvai pratęs elgtis su manimi ganėtinai storžieviškai! 
– Tai, – pareiškė jis, – kas kita. Broliai tam ir yra, kad būtų storžieviai ir retkarčiais
mandagiai elgtųsi su seserimis. Apie ką gi mąstei? 
– Tėtis, – lėtai pradėjo Dorotėja, – neturėtų pageidauti, kad būčiau amžiams
gyvendinta Londone, net jei – ir Arnsvort rezidencijoje."

while mobi file has:

"– Tikrai? Buvai pratęs elort rezidencijoje."

Kindle reader displays mobi file correctly, the same as epub example above.

Reproducible: Always
Comment 1 Nerijus Baliūnas 2014-06-08 22:19:11 UTC
Created attachment 87076 [details]
epub file (displays correctly)
Comment 2 Nerijus Baliūnas 2014-06-08 22:19:42 UTC
Created attachment 87077 [details]
mobi file (displays incorrectly)
Comment 3 Albert Astals Cid 2014-06-17 22:09:35 UTC
Yep :/ Sadly we don't have much people around with mobipocket expertise so it may take a while for the bug to be fixed (if you know how to code, this is your oportunity!).

Thanks for reporting the bug :)
Comment 4 Nerijus Baliūnas 2014-06-17 22:54:51 UTC
The same happens with FBReader, so I reference here its bug report - https://github.com/geometer/FBReader/issues/255 (if they use the same code for mobipocket support and fix it first).
Comment 5 Nerijus Baliūnas 2014-09-18 11:26:35 UTC
FBReader fixed it by writing their own mobipocket engine - https://github.com/geometer/FBReader/issues/255#issuecomment-55952380 :

It's our own engine, and it is GPL'd as FBReader itself. This new engine is written in C++ instead of the old one written in Java. In fact it is based on our FBReader C++ code, it was improved and fixed last few weeks.
Comment 6 Albert Astals Cid 2014-09-18 18:43:22 UTC
Thanks for the heads up, maybe someone can make our generator use your library or similar if has time.