sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.66k stars 1.73k forks source link

Color error if use themes Dark or Darker #745

Closed VictorVG closed 4 years ago

VictorVG commented 7 years ago

If user swith themes Dark or Darker then SumatraPDF after Git-https://github.com/sumatrapdfreader/sumatrapdf/commit/2f506a546a8b035ba7297af213da5089124178bb display color errors for any document's type (I found this optical bug in to PDF, DjVu, ePoob, ASCII/Text, FB2) - see samples:

Original color:

original_color_2

Error color:

bug_color_4

Original color:

original_color_3

Error color:

bug_color_3

Original color:

original_color_4

Error color:

bug_color_2

I suggest that the reason for the observed error is that the background layer is superimposed as an inverting texture on the main image, instead of overlaying the image on the background layer without color inversion.

This bug is exists only for themes Dark and Darker. I attached Samples.zip for testig.

kjk commented 7 years ago

Yes, that's a known issue. This issue is discussed in https://github.com/sumatrapdfreader/sumatrapdf/issues/743 (the part about "invert colors" being independent setting from theming)

VictorVG commented 7 years ago

Good. I saw it, I read it, but I did not dare write it. Let's unite them into a single unit in order not to be confused. At work with opticians I consulted and, according to them, the hypothesis about the nature of the phenomenon is quite plausible.

GitHubRulesOK commented 4 years ago

closing as covered by #743 and #1275