Suggestion: Contrast adjustment

Open
#580 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

Start by reviewing Xreader's existing inverted mode and the proposed normal and inverted reduced-contrast states. Determine where document-wide display colors are applied and how a user-controlled setting could fit without targeting individual PDF elements. Done means the contrast adjustment works across documents in both modes and is controllable by the user.

Written by the indexing model from the issue text.

Description

White backgrounds hurt my eyes, so I always use inverted mode; I greatly appreciate that this feature exists.
However, bright white text on a solid black background is also very straining to the eyes and it makes reading difficult.

Custom text/background colors are almost impossible to pull off due to the infinitely diverse and unpredictable nature of PDF files.

So, given this conundrum, I propose a contrast adjustment setting to help improve readability (controllable by the user).

  • Normal view: White background, black text
  • Inverted view: Black background, white text
  • Normal view with reduced contrast: Light gray background, dark gray text
  • Inverted view with reduced contrast: Dark gray background, light gray text

This could be applied broadly throughout the whole document without having to target specific elements. In a sense, this would be similar to how e-ink panels display documents - no pure white, no pure black.

image

Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/xreader

All issues in linuxmint/xreader

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.