Apply fix submitted by Rika on discussion about issue #39366

This commit is contained in:
Pierre Muller 2023-10-17 06:49:47 +00:00
parent fa9da559fb
commit 9e341da6ed

View File

@ -865,7 +865,7 @@ begin
end;
FcPatternDestroy(pat);
end;
{$define tfontmapper_find_implemented}
{$endif}
@ -1073,6 +1073,7 @@ begin
reg.Free;
end;
end;
{$define tfontmapper_find_implemented}
{$endif}
{$ifdef DARWIN}
@ -1134,6 +1135,14 @@ begin
enum.done;
end;
end;
{$define tfontmapper_find_implemented}
{$endif}
{$ifndef tfontmapper_find_implemented}
class function TFontMapper.find(const family, style: string; list: TStrings): boolean;
begin
Result:=false;
end;
{$endif}
initialization