Pango font metrics
- From: "Boncek, John" <jboncek Hunter COM>
- To: <gtk-app-devel-list gnome org>
- Subject: Pango font metrics
- Date: Wed, 4 Aug 2004 11:24:10 -0500
I have some simple Pango code working, using layouts and
pango_font_description_from_string to display some multi-line text in
several fonts. How can I find out or compute the total height (in pixels)
of one row of text for a given font, including both the actual text height
and the space between rows (sometimes called leading)? The code I am
converting to Pango also wants to know a maximum character width for a
given font -- is that even a meaningful question in Pango?
Thanks for your attention.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]