Re: Line spacing in Jade

Subject: Re: Line spacing in Jade
From: James Clark <jjc@xxxxxxxxxx>
Date: Wed, 03 Sep 1997 08:57:31 +0700
Chris Maden wrote:

> I want paragraphs with smaller fonts to
> shrink their line spacing correspondingly.

You can do:

 (declare-initial-value line-spacing (* (actual-font-size) 1.2))

Then the line-spacing of a paragraph will automatically change to be 20%
more than the font-size of the paragraph.

Alternatively set line-spacing to a small value, and set min-leading to
be something other than #f.


 DSSSList info and archive:

Current Thread