diff options
Diffstat (limited to 'packages/fcl-report/test/tcreportgenerator.pas')
-rw-r--r-- | packages/fcl-report/test/tcreportgenerator.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/fcl-report/test/tcreportgenerator.pas b/packages/fcl-report/test/tcreportgenerator.pas index aaa59e1f07..4f67686a0d 100644 --- a/packages/fcl-report/test/tcreportgenerator.pas +++ b/packages/fcl-report/test/tcreportgenerator.pas @@ -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} |