diff options
author | michael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-02-12 09:17:32 +0000 |
---|---|---|
committer | michael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-02-12 09:17:32 +0000 |
commit | 085c9ed40cd4a8b061d45e542a58bd0980aee704 (patch) | |
tree | 9e7a91da5ba88309c466504c7c662f49b7586cb3 | |
parent | 28145fad67efaf6d6c860368053102d8980a6439 (diff) | |
download | fpc-085c9ed40cd4a8b061d45e542a58bd0980aee704.tar.gz |
* Merging revisions 44004 from trunk:
------------------------------------------------------------------------
r44004 | michael | 2020-01-20 19:23:58 +0100 (Mon, 20 Jan 2020) | 1 line
* Clear search path (fix from Pascal Riekenberg, bug ID 36609)
------------------------------------------------------------------------
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/fixes_3_2@44158 3ad0048d-3df7-0310-abae-a5850022a9f2
-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} |