Actions
Defect #32740
closedIncorrect characters when copying out of a Redmine generated PDF
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
When copying the text out of a Redmine generated PDF opened in Adobe Acrobat DC (2019.021.20058) the text when pasted is just shown as squares rather than the actual text.
i.e.
"Description
jkjk"
becomes
"
Files
Related issues
Updated by Go MAEDA almost 5 years ago
- Status changed from New to Confirmed
Probably the issue is caused by rbpdf.
I have confirmed that the reported mojibake is reproducible when rbpdf 1.19.4 or later is installed. The copied text was pasted propery when I updated Gemfile as follows:
diff --git a/Gemfile b/Gemfile
index 354adc747..258b4516a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -13,7 +13,7 @@ gem "mail", "~> 2.7.1"
gem "csv", "~> 3.1.1"
gem "nokogiri", "~> 1.10.0"
gem "i18n", "~> 1.6.0"
-gem "rbpdf", "~> 1.20.0"
+gem "rbpdf", "1.19.3"
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
Please note that the above workaround causes other problems such as #28565 and #28125.
Updated by Go MAEDA almost 5 years ago
- Affected version changed from 4.1.0 to 4.0.6
Updated by Jun NAITOH over 1 year ago
I fixed it with rbpdf 1.21.0.
The fixed issues is as follows.Updated by Go MAEDA over 1 year ago
- Related to Patch #38272: Update RBPDF to 1.21 added
Updated by Go MAEDA over 1 year ago
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
- Target version set to 4.2.10
- Resolution set to Fixed
Actions