|
Boost : |
From: Nicolai Josuttis (nicolai.josuttis_at_[hidden])
Date: 2000-01-04 17:35:17
Ed Brey wrote:
>
> From: "Nicolai Josuttis" <nicolai.josuttis_at_[hidden]>
> > > Second, comments are often carefully formatted under the assumption
> > > that a mono-space font will be used. Use of Arial,Helvetica screws
> > > up this assumption, resulting in less than optimal display.
> > >
> > Are you sure?
> > I like this style a lot because it looks really different
> > and it takes less space than mono-spaced font.
> > How think the others about it?
> > What should be default?
>
> I really like proportionally spaced fonts. The screen space savings is
> great. The trade-off is that it is close to impossible to reliably align
> anything. Fortunately, syntax highlighting generally eliminates the need
> for aligningment.
>
> The best bet is probably to parameterize the awk script (perhaps with a
> comment in the file header) to specify whether to use mono or proportional
> fonts, that way code that is designed to be aligned gets aligned, and code
> that isn't gets the advantage of proportional fonts.
>
I am not sure whether you know it but
currently I use fixed size font for code and propotional font
for comments.
This was the best I found trying different things out
(we talk about taste here, so this is only my opinion, of course).
I'd like to avoid to make this littel awk script to meet everybodies needs.
As it is source code, anybody could change this code (therefore I tried
to comment it well). But I'd like to avoid having several AWK options.
-- Nicolai M. Josuttis http://www.josuttis.de/ Solutions in Time mailto:solutions_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk