[okular] [Bug 402033] Okular "typewriter" annotation tool - can't change text font or colour
Tobias Deiminger
bugzilla_noreply at kde.org
Thu Dec 13 22:50:13 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=402033
--- Comment #6 from Tobias Deiminger <haxtibal at posteo.de> ---
(In reply to Albert Astals Cid from comment #5)
> Disable those options?
Yes, that's reasonable. However I'm a bit unsure how to propagate the required
information.
It has to be a runtime check, to take the loaded document type into account.
Because even if we don't have HAVE_POPPLER_0_69 defined, font color will work
for all non PDF annotations (i.e. not Okular::Annotation::ExternallyDrawn).
I tend to invent Okular::AnnotationProxy::Capability::FreeTextFontColor, set it
only if HAVE_POPPLER_0_69, and make a AnnotationProxy* gettable via class
Annotation. Then TextAnnotationWidget is able to query the flag. What do you
think about that?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list