[Gambas-user] Problem with Gambas IDE / GTK+3 on Ubuntu 21.10
Benoît Minisini
g4mba5 at gmail.com
Sun Feb 6 20:45:08 CET 2022
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,
--
Benoît Minisini
More information about the User
mailing list