Bug 491876 - Feature: Rectangle Tool: Add Option to XOR the Colour
Summary: Feature: Rectangle Tool: Add Option to XOR the Colour
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.08.1
Platform: Other Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-18 20:46 UTC by Leonard Mada
Modified: 2024-08-18 21:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
PDF document with example of Rectangle tool (1017.19 KB, application/pdf)
2024-08-18 20:46 UTC, Leonard Mada
Details
Masked Heading marked with the Rectangle tool (153.82 KB, image/jpeg)
2024-08-18 20:49 UTC, Leonard Mada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Mada 2024-08-18 20:46:12 UTC
Created attachment 172735 [details]
PDF document with example of Rectangle tool

Rectangle Tool: Add Option to XOR the Colour

SUMMARY
It is sometimes useful to highlight an entire paragraph or segment of text. The rectangle tool offers a nicer geometry than the Highlighter tool. However, the color is simply added over, making it more difficult to read due to the poor contrast. Implementing a XOR-variant of the Rectangle tool (similar to the Highlighter tool) would improve the visibility of the text.

Note:
The attached pdf document has various Headings which are "embedded" in the main text (see on page 2 and following pages). This defies the purpose of the heading (but this is in the scope of the journal)! I used the Rectangle tool to mark these headings: the geometry is better than with the Highlighter tool.


STEPS TO REPRODUCE
1. Open attached pdf document
2. See examples on page 1: Highlighter vs Rectangle
3. See examples on page 2: Rectangle tool for hidden Headings

OBSERVED RESULT
The text is partly obscured with the Rectangle tool: very poor contrast.

EXPECTED RESULT
Implement option for Rectangle tool that behaves like the Text highlighter: the colour needs probably to be XOR'ed.

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Note:
The Rectangle tool may also have a nicer geometry with text with superscripts: e.g. the document contains a lot on expressions like "CD4+", "CD8+", where the "+" is superscript. Other documents may include references as superscript. Highlighting an entire paragraph using the Rectangle tool may look nicer in these instances.
Comment 1 Leonard Mada 2024-08-18 20:49:05 UTC
Created attachment 172736 [details]
Masked Heading marked with the Rectangle tool

The colour overlay masks the main text: adding the XOR-option would improve the visibility of the text.