From 6e5743846cd355449dc0a4fb0e29101b33f49155 Mon Sep 17 00:00:00 2001 From: jesus Date: Tue, 21 Aug 2018 16:51:55 +0000 Subject: [PATCH] LazReport: pdf exporter (lr_e_fclpdf) - add poSubsetFont to options which reduce size of resulting file, patcn from Michal Gawrycki, issue #34165 git-svn-id: trunk@58750 - --- .../lazreport/source/addons/lrFclPDFExport/lr_e_fclpdf.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazreport/source/addons/lrFclPDFExport/lr_e_fclpdf.pas b/components/lazreport/source/addons/lrFclPDFExport/lr_e_fclpdf.pas index 9cd5c79236..01929c1268 100644 --- a/components/lazreport/source/addons/lrFclPDFExport/lr_e_fclpdf.pas +++ b/components/lazreport/source/addons/lrFclPDFExport/lr_e_fclpdf.pas @@ -898,7 +898,7 @@ begin FPDFDocument.Infos.ApplicationName := ApplicationName; FPDFDocument.Infos.CreationDate := Now; - FPDFDocument.Options:=FPDFDocument.Options + [poPageOriginAtTop, poUseRawJPEG]; + FPDFDocument.Options:=FPDFDocument.Options + [poPageOriginAtTop, poUseRawJPEG, poSubsetFont]; FPDFDocument.DefaultOrientation := ppoPortrait; FPDFDocument.StartDocument;