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

Ondrej Pokorny lazarus at kluug.net
Fri Oct 9 09:06:10 CEST 2020

On 09.10.2020 04:33, Martin Frb via lazarus wrote:
> It might be dead simple (at least I hope)
> function GetCharacterPlacementW(hdc: HDC; lpString: LPCWSTR; nCount, 
> nMaxExtend: Integer; var lpResults: GCP_RESULTSW; dwFlags: DWORD): 
> DWORD; stdcall; external 'gdi32' name 'GetCharacterPlacementW';
> {$ENDIF}
> Add stdcall.

Yes, the stdcall fixes the crash for me on Windows 10 64bit & Lazarus 
IDE 32bit.

But the ligatures are not very promising. I get ':=' as ligature but 
nothing else.


More information about the lazarus mailing list