Hi Benek,
Sorry for the late response. Unfortunately the issue is complicated
and as such has not been addressed yet. There is one way to "simulate"
line-height, but it requires some additional CSS. Let's say you have
the following HTML:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Suspendisse tellus lorem, suscipit vitae, dignissim a, molestie eu,
velit. Proin at purus. Ut rutrum neque nec massa. Morbi vitae sem.
Aliquam ultricies, ligula sed aliquet eleifend, nisl lorem convallis
odio, eu egestas felis urna feugiat lectus. Ut sit amet lorem at diam
imperdiet blandit. Vestibulum luctus ante a nulla. Mauris blandit
erat. Curabitur tincidunt odio eget neque. Mauris vitae justo et
tortor tincidunt vehicula. Aliquam lacinia. Praesent sagittis, sem a
hendrerit placerat, eros elit imperdiet enim, eu gravida risus mauris
vel ligula. Nullam sed nibh. Pellentesque nulla nunc, viverra sed,
rutrum ut, pellentesque at, sem. Nunc ante augue, accumsan quis,
mattis pulvinar, volutpat non, libero.</p>
The following styles are set:
p {
font-size: 12px;
line-height: 30px;
}
Assuming you have a strict doctype, line-height will work in every
other browser except IE 6 and 7 (8 works). But adding the following
CSS (for IE6/7 only) makes it look just like it does in IE8 (which is
correct):
.cufon-vml {
margin: 8px 0 10px 0;
}
The size of the margins depends on both font-size and line-height.
You'll just have to experiment with it to come up with good values,
but generally the top margin should be about 80% of the bottom margin.
Not an optimal solution, I know, but if you really need line-height
_now_, this is pretty much the only way.
Simo
PS. The known bugs & issues wiki is slightly out of date, as we are
moving to GitHub's Issues now (
http://github.com/sorccu/cufon/issues).
Some of the known issues in the wiki have not yet been transferred to
the Issue tracker.