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

Gianluigi bagonergi at gmail.com
Sun Feb 6 18:44:22 CET 2022


Il giorno dom 6 feb 2022 alle ore 16:55 Benoît Minisini <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220206/88fd03ad/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk.png
Type: image/png
Size: 72423 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220206/88fd03ad/attachment-0001.png>


More information about the User mailing list