[Gambas-user] Problem with Gambas IDE / GTK+3 on Ubuntu 21.10
Gianluigi
bagonergi at gmail.com
Sun Feb 6 18:47:21 CET 2022
Il giorno dom 6 feb 2022 alle ore 18:44 Gianluigi <bagonergi at gmail.com> ha
scritto:
>
>
> 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
>
(gambas3:162070): Pango-WARNING **: 18:42:37.961:
pango_layout_set_markup_with_accel: Errore alla riga 15 carattere 10: È
stato chiuso l'elemento «markup», ma l'elemento correntemente aperto è «i»
>
> Regards
> Gianluigi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220206/76969f90/attachment.htm>
More information about the User
mailing list