From: Pavel Machek <pavel@ucw.cz>
To: David Lechner <david@lechnology.com>
Cc: linux-fbdev@vger.kernel.org,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fbcon: Use background color for margins
Date: Sun, 30 Jul 2017 21:51:08 +0000 [thread overview]
Message-ID: <20170730215108.GA806@amd> (raw)
In-Reply-To: <2cafbde9-6b31-9586-e3eb-0b80355eab3c@lechnology.com>
[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]
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.
So you have something like midnight commander, which uses colors.
Lets say top half of screen is normal, bottom one is inverted. What
color will borders be?
Will not they do something stupid (such as changing) when the
curses-based application refreshes?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2017-07-30 21:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 20:26 [PATCH] fbcon: Use background color for margins David Lechner
2017-07-30 9:47 ` Pavel Machek
[not found] ` <2cafbde9-6b31-9586-e3eb-0b80355eab3c@lechnology.com>
2017-07-30 21:51 ` Pavel Machek [this message]
2017-07-31 17:25 ` David Lechner
2017-07-31 21:11 ` Adam Borowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170730215108.GA806@amd \
--to=pavel@ucw.cz \
--cc=b.zolnierkie@samsung.com \
--cc=david@lechnology.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).