Bug 354735 - not all pages from fb2 files are displayed
Summary: not all pages from fb2 files are displayed
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: fictionbook backend (show other bugs)
Version: 0.20.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL: http://www.litmir.co/data/Book/0/2690...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 14:18 UTC by alpir
Modified: 2022-01-04 05:36 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alpir 2015-11-02 14:18:28 UTC
Okular version: 0.20.3 (from KDE 4.14.8)
Okular doesn't render all pages from Fiction Book files. File ended at about 76-78%.
This is true for me for every FB2 I have.

Reproducible: Always

Steps to Reproduce:
1. Download any FB2:
http://www.litmir.co/data/Book/0/269000/269354/Slavkin_Viktor_Vzroslaya_doch_molodogo_cheloveka_%28sbornik%29_Litmir.net_269354_original_d3677.fb2.zip
http://www.bookfb2.ru/fb2.php?num=490583&nam=%D0%A0%D1%8D%D0%B9%20%D0%9D%D0%B5%D0%BB%D1%8C%D1%81%D0%BE%D0%BD:%20%D0%92%20%D0%B2%D0%BE%D1%81%D0%B5%D0%BC%D1%8C%20%D1%83%D1%82%D1%80%D0%B0
2. Open it using okular and in another fb2 viewer.

Actual Results:  
In okular you can view only 76-78% from real size of file.

Expected Results:  
Render all pages from fb2 file.
Comment 1 Yuri Chornoivan 2015-11-02 14:33:59 UTC
Okular 0.23.60 (self-compiled), Mageia 5 x86_64

The linked files can be viewed to the end (no visible problems, all pages shown).
Comment 2 alpir 2015-11-02 15:29:17 UTC
I found a pattern - if in the module settings FictionBook the size of the font (Droid Sans Serif) 12, the number of pages is equal to the original. If more, then it does not show all the pages. If less than 12, then added to the book of blank pages
Comment 3 Mykola Krachkovsky 2016-04-04 07:17:04 UTC
Confirm. If used in FB2 module font differs from system default font by metrics then content doesn't fit to total page count and contents index is broken too.