|
Posted by dorayme on 11/03/07 04:04
In article <472b6e1d$0$25482$ba620dc5@text.nova.planet.nl>,
JWS <jws@my.home> wrote:
> dorayme wrote:
>
> > Also try the other thing I suggested and leave it out
> > altogether
>
> No, I wouldn't do that; it is a taste thing. The 20% 'leading'
> makes the text (IMHO) more readable than when the lines are just
> packed together without strips of lead between them. I tried it
> again just now, and decided I really want the 20% extra space.
>
> Do you have an explanation of why 1.2 does not equal 120%?
As I said at the time of raising the idea of leaving it out, the
default for most browsers is about 1.2. In other words, the
browsers already use a css style sheet and on this style sheet
you will see a value for line height. It is not 1. That would be
too squashed for many fonts and sizes as you are correctly
implying above.
As you might appreciate, a pure number acts as a multiplier of
the elements font-size. But a percentage is different. I rewrote
the following to include a spiel on percentages which might
explain the situation to you a bit. Please forgive me if there
are any typos or mistakes. Will correct any that are pointed out
of course:
http://netweaver.com.au/test/lineHeight.html
> If you change the
> font size (or type) on your Mac, does the font in the applet
> change too, or is it fixed? In Windows and Linux, it is fixed. And
> BTW, how about print-previewing applets on the Mac?
>
It is fixed. And yes, it appears fine in my print preview from
Safari. But not in Firefox.
(Work on trying to get the applet to actually play on the printed
page <g>)
--
dorayme
[Back to original message]
|