[Lazarus] fpReport - can not render pagefooter

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Sep 27 12:50:52 CEST 2017

On 2017-09-27 09:38, Andreas FrieƟ via Lazarus wrote:
> What is my mistake of understanding ?

You made a couple of mistakes and highlighted a bug in the PDF exporter.


1.  You never registered the standard page sizes with:

2.  Your report used LiberationSans font. Make sure you added
     the search paths to the font cache. eg:

           {$IFDEF UNIX}
             gTTFontCache.SearchPath.Add(GetUserDir + '.fonts/');

3.  You positioned a lot of reporting elements overlapping each
     other. Correct positioning will help you see things better. ;-)


    The PDF exporter didn't handle Page.Orientation of Landscape
    correctly, and rendered such pages from the bottom upwards.
    I supplied a patch to FPC's Mantis so hopefully Michael or
    somebody could commit that soon.


After all that, the report renders just fine.

   Note that I compiled your project using the latest fpReport from
   FPC Trunk. I simply set the correct Unit Source Path in the project.
   You don't need to use FPC Trunk compiler - I used FPC 2.6.4.


fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

My public PGP key:  http://tinyurl.com/graeme-pgp

More information about the Lazarus mailing list