mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-01 11:00:53 +02:00
fcl-report: Fix AV for rendering TFPReportGroupHeaderBand and use LiberationSans font as default for Windows
git-svn-id: trunk@38631 -
This commit is contained in:
parent
436cd9efb3
commit
c392e3804e
@ -2238,7 +2238,7 @@ Function ReportExportManager : TFPReportExportManager;
|
||||
{ this should probably be more configurable or flexible per platform }
|
||||
|
||||
Const
|
||||
{$IFDEF UNIX}
|
||||
{$IF Defined(UNIX) or Defined(WINDOWS)}
|
||||
cDefaultFont = 'LiberationSans';
|
||||
{$ELSE}
|
||||
cDefaultFont = 'Helvetica';
|
||||
@ -11613,6 +11613,9 @@ begin
|
||||
// write(': ',TFPReportCustomGroupFooterBand(aBand).GroupHeader.GroupCondition);
|
||||
//writeln(': Space = ', FormatFloat('#,##0.0', FSpaceLeft));
|
||||
Result := False;
|
||||
if not Assigned(aBand) then
|
||||
Exit;
|
||||
|
||||
lHandledBands := TBandList.Create;
|
||||
try
|
||||
lBand := aBand;
|
||||
|
Loading…
Reference in New Issue
Block a user