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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 16 11:18:07 UTC 2018


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

--- Comment #25 from Tobias Deiminger <haxtibal at posteo.de> ---
(In reply to Tobias Deiminger from comment #23)
> Btw., some other PDF libraries expose DA actually as string.
(In reply to Tobias Deiminger from comment #24)
> How about using (and extending) AnnotAppearanceBuilder instead?

Yet another idea. We could even let Qt5 frontend use AnnotAppearanceBuilder
directly (todo: extend it by some get* methods), keep the
AnnotFreeText::setAppearanceString(GooString*) API, and finally pass
AnnotAppearanceBuilder string to setAppearanceString. Vice versa for get.

That would preserve the flexibility of a string interface, while it keeps away
the burden of dealing with low level operator parsing from the frontends.

The bad thing is that it means some more rework of the patch again.

-- 
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/20180816/185e8588/attachment.html>


More information about the Poppler-bugs mailing list