[okular] [Bug 447789] FictionBook fb2: bad paragraph formatting

soshial bugzilla_noreply at kde.org
Sun Jan 9 07:08:22 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=447789

soshial <soshial at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|NEEDSINFO                   |CONFIRMED
         Resolution|WAITINGFORINFO              |---

--- Comment #6 from soshial <soshial at gmail.com> ---
Well, the core idea of the fb2 format is to never decide for the user, which
text formatting or styling should be used. fb2 purpose is only to structurize
data semantically (closest analogy is bare HTML with no styles).
The task of formatting and styling (CSS in this analogy) customization is
shifted to the reader software. User is supposed to set up these styles to
their liking once and for all. Also, different countries might have different
styling traditions and user is supposed to be able to change that easily. The
reading software keeps and applies the same settings for every book.

Summing up, I don't think I can provide any formatting/styling specification
for the format, that was designed to avoid specificating styles.

In my opinion, our main task here is to make user experience as close to a real
reading book as possible. Otherwise, user would open a fiction book in our
reader for the first time, see an "bad" unwonted formatting and close Okular at
once. We don't want that.

Just open several fiction book and look at the text. All of them would have
justified text. Epigraphs would be mostly italic and aligned to the right. We
should just copy that and maybe some day we support customizing these
preferences in Settings -> Configure backends...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list