[Poppler-bugs] [Bug 107151] Add font color in Poppler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 24 21:18:16 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107151

--- Comment #11 from Dileep Sankhla <sankhla.dileep96 at gmail.com> ---
I have created a draft patch here:
https://cgit.kde.org/scratch/dileepsankhla/okular-gsoc2018-typewriter.git/tree/font_color_poppler_core/font_color.patch

Tobias, I have the following issues with this patch:

1) Whenever I create a typewriter annotation in the modified okular, I get
"SIGABRT Error". May you please help me in identifying what and where it is
happening?

2) I have hardcoded textElement.setAttribute( QStringLiteral("font"),
QString("Invalid_font") ); in Poppler::TextAnnotation::store. How can I parse
textFont string from the DA dict in poppler core instead of poppler-qt5?

3) What do you say about the patch? Is it neat and promising?

Please answer my queries so that I can move ahead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180724/830ec69f/attachment.html>


More information about the Poppler-bugs mailing list