Lazarus 1.8.4
FPC 3.0.4
MacOS Mojave Version 10.14
I am new to Lazarus. Have used Delphi long back.
Getting error at the following code when trying to execute the application
begin
OSError(ATSUFindFontFromName(@fn[1], Length(fn),
lclFontName, lclFontPlatform, lclFontScript,
lclFontLanguage, Result),
'FindCarbonFontID', 'ATSUFindFontFromName');
end;
Error:
carbonproc.pp(538,13) Error: Identifier not found "ATSUFindFontFromName"
LCL Widget type is set as carbon.