Difference in font layout heights?
- From: Lars Clausen <lrclause cs uiuc edu>
- To: gtk-list gnome org
- Subject: Difference in font layout heights?
- Date: Mon, 24 Feb 2003 10:36:37 -0600
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?
Thanks,
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]