I'm on Win10 Pro/64 1703. The needed fonts are not found by the program, because they are not in my system (%windir%/fonts). In fpTTF only the WinDir is added to the searchlist. So an Exception is raised and the execution of the lcldemo stops here. The fonts are in the fcl-report/demos/fonts.

Regards

Andreas




Am 21.08.2017 um 01:38 schrieb Graeme Geldenhuys via Lazarus:
On 2017-08-20 21:16, Andreas Frieß via Lazarus wrote:
The freetype dll searched by the fpreport was freetype-6.dll, but the
actual freetype-2.3.5-1-bin.zip has only a freetype6.dll. (Renaming is
not a problem for me)

It seems FreeType has some inconsistencies with its releases and naming of the DLL. I have copies of freetype-6.dll, freetype6.dll and freetype.dll - all version 6 and all downloaded from somewhere on the Internet.

I guess the one good thing is that there is a fpReport TODO item to remove the freetype*.dll dependencies for Windows in the future. That is already possible with the AggPas exporter, but in that specific case I prefer the freetype usage as it generates better text via AggPas and has more features that the Windows Font API supports.

Regards,
  Graeme


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to