[Lazarus] -dWINDOWS_LIGATURE [[Re: Font ligatures support]]

Martin Frb lazarus at mfriebe.de
Mon Oct 5 01:36:05 CEST 2020


On 05/10/2020 01:02, Maxim Ganetsky via lazarus wrote:
> 05.10.2020 1:48, Martin Frb via lazarus пишет:
>> On 05/10/2020 00:27, Maxim Ganetsky via lazarus wrote:
>>>
>>> Lazarus hangs on start for me on Windows 7 when compiled with this 
>>> define.
>>>
>>> Lazarus 2.1.0 r63957 FPC 3.2.0 i386-win32-win32/win64. I use 
>>> JetBrains Mono font.
>>>
>> Could you start with an empty project? To make sure its not content 
>> related?
>>
>> Though the code changes do not have any loop.
>>
>> You could run in gdb
>>
>> gdb lazarus.exe
>>
>> r
>>
>> ctrl-c when it hangs
>>
>> bt
>
> Tried with an empty project, nothing changed. Actually it does not 
> hang, it segfaults. GDB output:
>

Ok, that is in the new code (inside the OS call...).
So some param that it does not like..

Could you try in file syntextdrawer.pp
line 792
function TheFontStock.GetNeedETO: Boolean;
To ALWAYS return false.

Maybe it does not like to have a DX/ETO param.



More information about the lazarus mailing list