[fpc-pascal] fcl-report demos not working on windows10/64 with win64 compiled - Font Arial not found

Andreas Frieß friess at gmx.at
Fri Dec 27 09:55:04 CET 2019

I have now built the fcl-fpreport demos on win64 on a Windows10/64
machine. But the demo is not running (comandline with -d jsondata -f
pdf), because the font Arial is not found. It looks like the demos didnt
use the gTTFontCache.ReadStandardFonts and so the standard font is not

If i change in udapp.pp procedure TReportRunner.RunReport(AFileName :


   // ask to generate the font cache
   gTTFontCache.ReadStandardFonts;  // implies gTTFontCache.BuildFontCache;

the report is now built, but the rendere of pdf in fpreportpdfexport.pp
have the same issue with not find font arial. It is not logical for me.
gTTFontCache is built correct for the report, why is the renderer not
found the font ? Is the renderer use another fontcache ?!


More information about the fpc-pascal mailing list