* Clear search path (fix from Pascal Riekenberg, bug ID #36609)

git-svn-id: trunk@44004 -
This commit is contained in:
michael 2020-01-20 18:23:58 +00:00
parent 392fc0b637
commit dad9126d45

View File

@ -94,6 +94,7 @@ begin
if not ForceDirectories(FFilePath+'rendered') then
Fail('Could not create directory for rendered JSON');
gTTFontCache.Clear;
gTTFontCache.SearchPath.Clear;
gTTFontCache.SearchPath.Add(FFilePath+'fonts/');
gTTFontCache.SearchPath.Add(FFilePath+'../demos/fonts/');
{$IFDEF UNIX}