https://bugs.kde.org/show_bug.cgi?id=381629

Tobias Deiminger <haxti...@posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |haxti...@posteo.de

--- Comment #2 from Tobias Deiminger <haxti...@posteo.de> ---
Certainly a useful feature. Needs person power, and might be a student project
(?).

Entry point would be to read the PDF reference, which defines "OpenArrow" and
"ClosedArrow" for Line and Polyline Annotations (annotations in Okular closely
follow the PDF standard, even for non-PDF documents). 

For non-PDF docs, drawing those line endings would have to be implemented in
ui/pagepainter.cpp, PagePainter::paintCroppedPageOnPainter, "if ( type ==
Okular::Annotation::ALine )".

For PDF documents, drawing operations had to go into the poppler library,
poppler/Annot.cc, AnnotLine::generateLineAppearance and AnnotPolygon::draw.
Popplers core and Qt5 API is already prepared to take line ending settings. But
eventually there's no life but a "// TODO: Line endings" in the code.

Of course we would also have to implement all the surrounding UI dialogs,
config settings and document archive entries.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to