BitStream Vera fonts have very large 'line spacing'.



Using PyGame (which is using sdl_ttf under the hood), the new fonts
have a very high 'linesize' compared to the ascender and descender 
size. Compared to, say, Arial at 11pts, which has ascender 12 pixels
from the baseline, descender 3 pixels below the baseline, and a 
suggested linesize (line spacing) of 13 px, Bitstream Vera Sans at
the same font size shows a ascender of 12, descender of 2, and a line 
spacing of 17 points!

(thats 12+3=>13 for Arial, 12+2=>17 for Bitstream Vera)

This ends up being very widely spaced indeed - by default, everything
looks like it's 1.5 spaced.

Hopefully this is an easy fix...

thanks,
Anthony
--
Anthony Baxter     <anthony interlink com au>
It's never too late to have a happy childhood.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]