Pango fonts



Hello All,

 sorry to disturb you with a simple basic questions, but ...
 Win32 API has a function GetTextMetric(), which returns the height,
 maximum char width for a given font in pixels. How can I get the same
 values for a given PangoFontDescription, or for a pango layout where this
 font is set - in pixels, to be possible to calculate the necessary
 drawing area dimensions ?

Regards,
 Alexander
http://kresin.belgorod.su





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