D21490: Draw line caption for non-PDF documents
Tobias Deiminger
noreply at phabricator.kde.org
Wed May 29 22:52:35 BST 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190529/16542939/attachment.html>
More information about the Okular-devel
mailing list