On Fri, 10 Sep 2010 23:32:36 +0200
m0n0 <[email protected]> wrote:

> I'm wondering how NetSurf calculates how many pixels an string uses
> in vertical direction. The Font plotter only needs to return string 
> widths, but not height. How does NetSurf knows at which pixel the
> next string line shold start?

For reference, this is implemented by the line_height() function in
render/layout.c. The default line spacing is 1.3 * (font size).

James

Reply via email to