Hi,
I have been using cufon for the last year and a half and have never seen this...
Say I have:
<h2 class="my_font">This is some text</h2>
<p class="my_font">This is some more text</p>
The text is rendered properly but the line break gets rendered as a new line, for example:
<h2 class="my_font"><cufon class="cufon cufon-canvas" alt=" " style="width: 5px; height: 16px; ">...</cufon</h2>
<cufon class="cufon cufon-canvas" alt=" " style="width: 5px; height: 16px; ">...</cufon>
<p class="my_font"><cufon class="cufon cufon-canvas" alt=" " style="width: 5px; height: 16px; ">...</cufon</p>
So I end up with a 16px gap between the h2 and p tags. The only thing I have been able to do to prevent it is, put everything on the same line or comment out the line break:
<h2 class="my_font">This is some text</h2><!--
--><p class="my_font">This is some more text</p>
Also, I think it's important to mention that this happens anywhere cufon is used, it's not isolated to the html example above. Any idea what could be causing this?
Thanks!