[patch] tcreportgenarator.pas misses gTTFontCache.SearchPath.Clear
Original Reporter info from Mantis: PascalR @PascalRiekenberg
-
Reporter name: Pascal Riekenberg
Original Reporter info from Mantis: PascalR @PascalRiekenberg
- Reporter name: Pascal Riekenberg
Description:
tcreportgenarator.pas misses gTTFontCache.SearchPath.Clear.
Steps to reproduce:
Run comandline version of testfpreport and get the following errors:
List of errors:
Error:
Message: TTestDemos.ImagesDemo: The font file <fonts\calibri.ttf> can't be found.
Exception class: ETTF
Exception message: The font file <fonts\calibri.ttf> can't be found.
at $00000001000B3820
Error:
Message: TTestDemos.TTFDemo: The font file <fonts\calibri.ttf> can't be found.
Exception class: ETTF
Exception message: The font file <fonts\calibri.ttf> can't be found.
at $00000001000B3820
Error:
Message: TTestDemos.DatasetDemo: The font file <fonts\calibri.ttf> can't be found.
Exception class: ETTF
Exception message: The font file <fonts\calibri.ttf> can't be found.
at $00000001000B3820
Error:
Message: TTestDemos.JSONDemo: The font file <fonts\calibri.ttf> can't be found.
Exception class: ETTF
Exception message: The font file <fonts\calibri.ttf> can't be found.
at $00000001000B3820
Additional information:
Attached patch fixes this.
Mantis conversion info:
- Mantis ID: 36609
- OS: Windows 10 x64
- OS Build: 1903
- Build: 44002
- Platform: i386
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 44004 (#dad9126d)
- Target version: 3.2.0