Re: What's the meaning of the height of layout
- From: Behdad Esfahbod <behdad behdad org>
- To: langston 单 <dwshan1983 hotmail com>
- Cc: pango maillist <gtk-i18n-list gnome org>
- Subject: Re: What's the meaning of the height of layout
- Date: Wed, 21 Jul 2010 15:27:46 -0400
On 07/14/10 06:44, langston 单 wrote:
> Hi everyone:
> I have some doubt about layout height.
>
> First I create a pango-layout, set font, wrap width and text, and the
> space between layout lines was set to 0;
>
> Then I get the layout height, the total number of text line and the
> height of each line.
>
> Could anyone explain why the height of the layout is not equal to
> TextLinesCount multiply by LineHeight?
There is no single LineHeight! Where do you get "LineHeight" from, and what
differences are you seeing?
b
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]