浏览代码

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

git-svn-id: trunk@44004 -
michael 5 年之前
父节点
当前提交
dad9126d45
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/fcl-report/test/tcreportgenerator.pas

+ 1 - 0
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}