From 8d8cb4045a1f9bf3354f6752462b5e1955e470c0 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 18 Oct 2012 11:11:42 +0100 Subject: pdf: replace RTL function with fpGUI wrapper version. This allows for better Unicode support. --- src/reportengine/u_pdf.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/reportengine') diff --git a/src/reportengine/u_pdf.pas b/src/reportengine/u_pdf.pas index 8b3508e2..6dc927b7 100644 --- a/src/reportengine/u_pdf.pas +++ b/src/reportengine/u_pdf.pas @@ -333,6 +333,7 @@ var implementation uses + fpg_utils, U_Report, U_Command; @@ -1439,7 +1440,7 @@ var FileTxt: TextFile; Ligne: WideString; begin - if FileExists(FontDirectory + NomFonte + '.fnt') then + if fpgFileExists(FontDirectory + NomFonte + '.fnt') then begin AssignFile(FileTxt, FontDirectory + NomFonte + '.fnt'); Reset(FileTxt); -- cgit v1.2.3-70-g09d2