diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-18 11:11:42 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-18 11:11:42 +0100 |
commit | 8d8cb4045a1f9bf3354f6752462b5e1955e470c0 (patch) | |
tree | 01d21241dac97064ff65b8a562c71f16fdb6c776 | |
parent | 800e4dd37fad3fced7bf56661cc75dd17ed1f48b (diff) | |
download | fpGUI-8d8cb4045a1f9bf3354f6752462b5e1955e470c0.tar.xz |
pdf: replace RTL function with fpGUI wrapper version.
This allows for better Unicode support.
-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); |