diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2024-05-23 10:34:55 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2024-05-28 21:17:46 +0200 |
commit | 0effdc98dcaaf4fab118f9834f67b4d5d3107d7a (patch) | |
tree | 2c329df6a2944ff932f54a9d315f2f812cb2c59f /src/gui/dialogs/qfiledialog.cpp | |
parent | e95812df85d98689d51bed92acce51e0e250f854 (diff) |
A file specification in PDF is a string (ยง3.10.1 of the PDF 1.6 spec).
As such, it needs to be properly encoded. Right now the code was
doing a naive conversion to latin1 (which was lossy), and was not
considering things like round parenthesis which need to be properly
escaped. Just use printString instead.
This work has been kindly sponsored by the QGIS project
(https://qgis.org/).
Change-Id: Icdcf8b553955d31fe2bc430dea54bb6e68221fc7
Pick-to: 6.7 6.5
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Diffstat (limited to 'src/gui/dialogs/qfiledialog.cpp')
0 files changed, 0 insertions, 0 deletions