[RFC] Increase libstdc++ line length to 100(?) columns
Michael Matz
matz@suse.de
Mon Nov 30 16:44:09 GMT 2020
Hello,
On Mon, 30 Nov 2020, Allan Sandfeld Jensen wrote:
> > > On Sonntag, 29. November 2020 18:38:15 CET Florian Weimer wrote:
> > > > * Allan Sandfeld Jensen:
> > > > > If you _do_ change it. I would suggest changing it to 120, which is
> > > > > next
> > > > > common step for a lot of C++ projects.
> > > >
> > > > 120 can be problematic for a full HD screen in portrait mode. Nine
> > > > pixels per character is not a lot (it's what VGA used), and you can't
> > > > have any window decoration. With a good font and screen, it's doable.
> > > > But if the screen isn't quite sharp, then I think you wouldn't be able
> > > > to use portrait mode anymore.
> > >
> > > Using a standard condensed monospace font of 9px, it has a width of 7px,
> > > 120
> > A char width of 7px implies a cell width of at least 8px (so 960px for 120
> > chars), more often of 9px. With your cell width of 7px your characters
> > will be max 6px, symmetric characters will be 5px, which is really small.
> >
> I was talking about the full cell width. I tested it before commenting,
> measuring the width in pixels of a line of text.
Yes, and I was saying that a cell width of 7px is very narrow because the
characters itself will only be using 5px or 6px max (to leave room for
inter-character spacing in normal words). You might be fine with such
narrow characters, but not everyone will be.
Ciao,
Michael.
More information about the Gcc
mailing list