On Mon, 2009-04-13 at 11:42 +0200, Jean-Philippe Bernardy wrote:
> I think this is due to the window height being incorrectly computed.

I think that's right.

> We used to do window height in pixels / line height in pixels; but I
>  think Jeff changed that. With your other report, it seems to mean that
>  the line size was not correct t because the font was not set
>  correctly.

> Jeff, would you like to look into this?

When the font size is not specified in the config, the Pango UI does not
calculate it correctly. It seems to guess the height is 0 (it did prior
to any of my changes I made, also), and thus the total height of the
window is similarly 0.

It seems like the proper solution to this would be to find the default
height as an integer from Gtk/Pango, and explicitly defaulting to that
value, rather than leaving it unset. Unfortunately, I'm not sure how to
access this value over Gtk2Hs. :-/

For now, a viable solution may be to just set the configFontSize in
Yi.Config.Default to (Just 12) or so.

Jeff Wheeler



--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to