Re: What's the meaning of the height of layout



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]