[Lazarus] Win 7 issue / Re: -dWINDOWS_LIGATURE [[Re: Font ligatures support]]

Martin Frb lazarus at mfriebe.de
Tue Oct 6 12:32:34 CEST 2020

On 06/10/2020 01:01, Maxim Ganetsky via lazarus wrote:
> 05.10.2020 18:36, 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.
>> The other ...TextOut in the lines below that should be kept as they are.
> This change does not help.

Ok, I installed Win7 in a virtualbox, got Lazarus, installed the 
"JetBrains mono" font (just the regular, skipped all the 
light/italics....) and "JetBrains mono Variable".

No crash.
Ligatures work (well the subset as described in other mail)

Without any way of reproducing, there isn't much I can do.

Can you try to catch it in the debugger, and see what params are given 
to NewTextOut
     at lazsyntextarea.pp:1741

  fTextDrawer.NewTextOut(TxtLeft, rcToken.Top, TxtFlags, tok, 
ATokenInfo.Tk.TokenStart, ATokenInfo.Tk.TokenLength, FEtoBuf);

More information about the lazarus mailing list