Hi, On 2020-05-09 08:11:36 +0000 Fred Kiefer <[email protected]> wrote:
> Thank you Andreas for pinning this down. Sadly your solution cannot be used > directly. That way all text views or text cell would result in a height of > zero. The returned size here has to include at least the height of a new > line. This gets handled in the class GSLayoutManager (around line 2600) by > adding the extra used rectangle to the returned rectangle. > > If you still got time to look further it would help to know, how big the > extra_used_rect is in your case and where these values come from. Maybe we > fail to initialise the value correctly? That value should get set by the > class GSHorizontalTypesetter (line 555). If the wrong value comes from there > then the current font is to blame. Could you please inspect that? I remember this, I have a déjà-vu here! Don't remember the App, but chasing down exactly this issue, I remember that it should be at least "one line" height and that there were issue. Riccardo
