[Lazarus] Win 7 issue / Re: -dWINDOWS_LIGATURE [[Re: Font ligatures support]]
Maxim Ganetsky
ganmax at narod.ru
Sat Oct 10 00:28:14 CEST 2020
09.10.2020 5:33, Martin Frb via lazarus пишет:
> It might be dead simple (at least I hope)
>
> {$IFDEF WINDOWS_LIGATURE}
> function GetCharacterPlacementW(hdc: HDC; lpString: LPCWSTR; nCount,
> nMaxExtend: Integer; var lpResults: GCP_RESULTSW; dwFlags: DWORD):
> DWORD; stdcall; external 'gdi32' name 'GetCharacterPlacementW';
> {$ENDIF}
>
> Add stdcall.
>
> At least on win10 that makes 32bit working. Not booting up win 7 again.
Yes, my IDE is 32 bit. It works now correctly for me on Win7 too. Thanks!
--
Best regards,
Maxim Ganetsky mailto:ganmax at narod.ru
More information about the lazarus
mailing list