Re: Difference in font layout heights?



On Mon, Feb 24, 2003 at 10:36:37AM -0600, Lars Clausen wrote:
> 
> In working on using a TextView widget for editing text in Dia, I notice
> that there's a significant difference in the height of multi-line text,
> about 12%.  We use the FT2 backend for internal Dia rendering, but the
> TextView of course uses either the gdk renderer or xft, depending on the
> GDK_USE_XFT setting.  The length of the text is unaffected.  We use
> pango_ft2_render_layout to do the whole rendering, while GtkTextView uses
> gtk_text_layout_draw, which does line-by-line rendering.  Is the line space
> wrong in one or the other of these?
> 

TextView has settings for the amount of inter-paragraph and inter-line
spacing, that default to nonzero.

Havoc



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