[Gambas-user] Problem with Gambas IDE / GTK+3 on Ubuntu 21.10

Benoît Minisini g4mba5 at gmail.com
Sun Feb 6 18:49:42 CET 2022


Le 06/02/2022 à 18:44, Gianluigi a écrit :
> 
> 
> Il giorno dom 6 feb 2022 alle ore 16:55 Benoît Minisini 
> <g4mba5 at gmail.com <mailto:g4mba5 at gmail.com>> ha scritto:
> 
>     Le 06/02/2022 à 16:43, Benoît Minisini a écrit :
>      > Hi,
>      >
>      > I installed Ubuntu 21.10 a few days ago, and I noticed that now a
>      > vertical offset in text drawing with GTK+3. The exact same code
>     worked
>      > correctly in the previous Ubuntu.
>      >
>      > The text drawn in native controls (for example TextBox) does not
>     have
>      > the problem, so it's something I do in 'gb.gtk3' with text
>     drawing that
>      > was correct before.
>      >
>      > Do anyone has the same problem?
>      >
>      > P.S. I guess Gambas development would be annoying without GTK+3. :-/
>      >
> 
>     Apparently now GTK+3 (actually Pango) returns an ascent of 16 pixels
>     whatever the font and its size!
> 
>     Weird...
> 
>     -- 
>     Benoît Minisini
> 
> 
> Here it works correctly, see attached image
> Both on Ubuntu and Ubuntu on Xorg
> Although I get this warning on the terminal on closure
> 
> Regards
> Gianluigi
> 

You have the same Ubuntu?

-- 
Benoît Minisini


More information about the User mailing list