• Dileep Sankhla's avatar
    Support setting text color for typewriter annotations · e44ff387
    Dileep Sankhla authored
    Summary:
    Changing typewriter text color can be done in the typewriter properties dialog, or programmatically via new okular API methods TextAnnotation::textColor and TextAnnotation::setTextColor.
    
    poppler >= 0.69 is required to store text color natively inside PDF documents. For other document types, text color is stored as metadata inside the document archive.
    
    This work was done during GSoC 2018. See https://community.kde.org/GSoC/2018/StatusReports/DileepSankhla for details.
    
    Test Plan:
    - properties dialog of typewriter annotation has "Font Color" picker
    - saving to PDF results in <r> <g> <b> rg operation in /DA
    - saving to archive results in fontColor="rrggbb" attribute in metadata.xml
    
    Reviewers: sander
    
    Reviewed By: sander
    
    Subscribers: kde-doc-english, sander, okular-devel
    
    Tags: #okular, #documentation
    
    Differential Revision: https://phabricator.kde.org/D15205
    e44ff387
Name
Last commit
Last update
..
icons Loading commit data...
sources Loading commit data...
CMakeLists.txt Loading commit data...
README.Icons Loading commit data...
checkmark.png Loading commit data...
circle.png Loading commit data...
comment.png Loading commit data...
cross.png Loading commit data...
drawingtools.xml Loading commit data...
help.png Loading commit data...
insert.png Loading commit data...
key.png Loading commit data...
newparagraph.png Loading commit data...
note.png Loading commit data...
okular.knsrc Loading commit data...
paperclip.png Loading commit data...
paragraph.png Loading commit data...
pushpin.png Loading commit data...
rightarrow.png Loading commit data...
rightpointer.png Loading commit data...
stamps.svg Loading commit data...
star.png Loading commit data...
tool-base-okular.png Loading commit data...
tool-base-okular@2x.png Loading commit data...
tool-highlighter-okular-colorizable.png Loading commit data...
tool-highlighter-okular-colorizable@2x.png Loading commit data...
tool-ink-okular-colorizable.png Loading commit data...
tool-ink-okular-colorizable@2x.png Loading commit data...
tool-note-inline-okular-colorizable.png Loading commit data...
tool-note-inline-okular-colorizable@2x.png Loading commit data...
tool-note-inline.png Loading commit data...
tool-note-okular-colorizable.png Loading commit data...
tool-note-okular-colorizable@2x.png Loading commit data...
tool-note.png Loading commit data...
tool-typewriter-okular-colorizable.png Loading commit data...
tool-typewriter-okular-colorizable@2x.png Loading commit data...
tool_hl_orange.png Loading commit data...
tool_hl_pink.png Loading commit data...
tool_hl_yellow.png Loading commit data...
tool_ink_green.png Loading commit data...
tool_note.png Loading commit data...
tools.xml Loading commit data...
uparrow.png Loading commit data...
upleftarrow.png Loading commit data...