Implementing the FreeText annotation with FreeTextTypewriter behavior
Okular is a KDE universal document viewer. It allows reviewing and annotating the PDF documents and supports various text and graphic annotations. FreeText is one of them but the FreeTextTypewriter behavior (WYSIWYG live editing) is still missing to write directly on PDF page. This project focus on implementing this missing FreeText annotation feature and adding a new ‘Typewriter’ entry in the annotation toolbar.
Mentor: Tobias Deiminger
- Add a new typewriter icon and settings dialogue to the annotation toolbar.
- Setting annotation background to transparent, and /IT set to FreeTextTypewriter.
- Re-design text input UI and implement a community selected WYSIWYG approach to write directly on PDF page.
Community Bonding Period
During Community Bonding period, I've been in communication with my mentor, discussing various implementation ideas and learning more about the PDF format and the codebase of Okular and Poppler. In the meantime, I have got a KDE developer account, set up a scratch repository to discuss the ideas and share experimental code and explored pertinent bug reports on Bugzilla by taking part in the conversation. As I didn't mention any particular approach for click-to-type typewriter WYSIWYG editing in my GSoC proposal, we had to discuss, experiment and present a couple of ideas to the okular-devel list and will agree upon the community selected one. Further, I set up the working environment and built the project and I'm reading the Qt TextEdit and Poppler Qt5 frontend documentation while consulting with my mentor for the optimal approach to implement the proposed features.
Coding Period - Phase one (May 14th to June 12th)
To be done.
Branch where I'm working
Email: [email protected]