diff options
-rw-r--r-- | src/reportengine/u_pdf.pas | 3 |
1 files changed, 2 insertions, 1 deletions
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); |