lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 30 Jul 2017 14:57:27 -0500
From:   David Lechner <david@...hnology.com>
To:     Pavel Machek <pavel@....cz>
Cc:     linux-fbdev@...r.kernel.org,
        Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fbcon: Use background color for margins

On 07/30/2017 04:47 AM, Pavel Machek wrote:
> Hi!
> 
>> Screens that don't have a black border around the active area will have
>> ugly black bars for the margin when the text background color is not black.
>> This is especially noticeable on an LCD screen (not the backlit kind) when
>> the terminal colors are inverted.
> 
> Are you sure?

Of course I am sure. Otherwise I would not send a patch. ;-)

I have attached some pictures to explain it better. The 
default-console.jpg picture shows what it looks like using just 
defaults. I think it is hard to read the white text with the black 
background.

So, the solution is to invert the terminal colors. But when you do this, 
the margins are not inverted, so you are left with black bars on the 
bottom and the right as seen in inverted-without-patch.jpg.

With this patch applied, the margins are also inverted, so you don't 
have the black bars as seen in inverted-with-patch.jpg. I think this is 
much nicer.

  It is quite common to have different backgrounds in
> different parts of the screen, how it is supposed to work there?

There will be nothing different in this regard. Only the margins 
(non-text area) are changed.

Download attachment "default-console.jpg" of type "image/jpeg" (27497 bytes)

Download attachment "inverted-without-patch.jpg" of type "image/jpeg" (29001 bytes)

Download attachment "inverted-with-patch.jpg" of type "image/jpeg" (28918 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ