[Gambas-user] strange Message behavior

Admin admin at allunix.ru
Thu May 13 12:49:18 CEST 2021


12.05.2021 2:34, Benoît Minisini пишет:
> Le 11/05/2021 à 21:03, Benoît Minisini a écrit :
>> Le 11/05/2021 à 20:36, Benoît Minisini a écrit :
>>>>
>>>> OK, it seems that Pango >= 1.20 has a non backward-compatible 
>>>> change that breaks multi-line text drawing.
>>>>
>>>> More news about that soon...
>>>>
>>>
>>> <rant>It's not just GTK+ developers that like to break all programs 
>>> using their libraries when releasing a new minor version.</rant>
>>>
>>
>> This was not a backward-incompatible change, I was wrong.
>>
>> This was a backward-incompatible bug fix apparently.
>>
>> There was a bug in Pango that was ignore the first line of text is 
>> some cases, and I added a UTF-8 invisible character at the start of 
>> the Pango string to workaround the bug.
>>
>> It worked before, but now it makes Pango randomly ignore some lines 
>> when displaying text.
>>
>> The problem is guessing which version of Pango needs the workaround, 
>> and which one must not use it!
>>
>> Regards,
>>
>
> OK, the bug should be fixed now in master.
>
Huge thank you, Benoit!

I can't test the bugfix, because master version does not compile on 
FreeBSD (just like almost any version except for 3.14.2), but I can now 
sleep well, because you told me what the problem was. I'll easily 
workaround this bug by using a Form instead of Message().

All in all, Gambas changed my life.
Dmitry.


P.S. if you're interested, it does not compile due to:
---------

Installing 'gb.form' component...
Compiling 'gb.form.dialog' component...
gbc3: error: Component not found: gb.gsl
*** Error code 1
-----------

yet it was ./configured with --disable-gsl.

But since it's not an officially supported platform, oh well.



More information about the User mailing list