[Gambas-user] Problem with Gambas IDE / GTK+3 on Ubuntu 21.10
Bruce Steers
bsteers4 at gmail.com
Tue Feb 8 23:16:14 CET 2022
On Sun, 6 Feb 2022 at 19:46, Benoît Minisini <g4mba5 at gmail.com> wrote:
> Le 06/02/2022 à 16:54, Benoît Minisini a écrit :
> > 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...
> >
>
> The problem should be fixed in the last commit.
>
> Pango changed the behaviour of its public API in a non-compatible way.
>
> I don't know yet if the fix is backward-compatible (i.e. if he does not
> break with an older version of Pango), but you will tell me. :-)
>
> Regards,
>
It looks okay on....
Mint20,
ubuntu21.4,
Fedora35,
Debian11
Respects.
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220208/6766dc37/attachment.htm>
More information about the User
mailing list