tobiasdeiminger created this revision. Herald added a project: Okular. Herald added a subscriber: okular-devel. tobiasdeiminger requested review of this revision.
REVISION SUMMARY Line captions are already implemented in poppler / PDF generator (can't be enabled in okular UI yet, but that's another story). This adds the drawing code for non-PDF documents. TODO: - obey inline / top setting - precombine transformation matrix - if inline, partially spare out main segment - figure out which font size and color to use - adjust placement under some conditions (e.g. avoid upside down text)? Depends on D21248 <https://phabricator.kde.org/D21248> REPOSITORY R223 Okular BRANCH feature/linecaption REVISION DETAIL https://phabricator.kde.org/D21490 AFFECTED FILES ui/pagepainter.cpp ui/pagepainter.h To: tobiasdeiminger Cc: okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid