Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Downgrade prawn 2.4.0 due to https://github.com/prawnpdf/prawn/issues/1346#issuecomment-2036433712

Eric Guo9045ef6cb104
diff --git a/Gemfile b/Gemfile
index c003640842b..f9f8b335961 100644
--- a/Gemfile
+++ b/Gemfile
@@ -159,6 +159,7 @@ gem "airbrake", "~> 13.0.0", require: false
gem "md_to_pdf", git: "https://github.com/opf/md-to-pdf", ref: "8f14736a88ad0064d2a97be108fe7061ffbcee91"
gem "prawn", "~> 2.4"
+gem "ttfunk", "~> 1.7.0" # remove after https://github.com/prawnpdf/prawn/issues/1346 resolved.
# prawn implicitly depends on matrix gem no longer in ruby core with 3.1
gem "matrix", "~> 0.4.2"
diff --git a/Gemfile.lock b/Gemfile.lock
index cd092a568bf..2eda3f30815 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -793,7 +793,7 @@ GEM
parser (3.3.1.0)
ast (~> 2.4.1)
racc
- pdf-core (0.10.0)
+ pdf-core (0.9.0)
pdf-inspector (1.3.0)
pdf-reader (>= 1.0, < 3.0.a)
pdf-reader (2.12.0)
@@ -807,10 +807,9 @@ GEM
activesupport (> 2.2.1)
nokogiri (~> 1.10, >= 1.10.4)
rubyzip (>= 1.2.0)
- prawn (2.5.0)
- matrix (~> 0.4)
- pdf-core (~> 0.10.0)
- ttfunk (~> 1.8)
+ prawn (2.4.0)
+ pdf-core (~> 0.9.0)
+ ttfunk (~> 1.7)
prawn-table (0.2.2)
prawn (>= 1.3.0, < 3.0.0)
pry (0.14.2)
@@ -1088,8 +1087,7 @@ GEM
openssl (> 2.0)
openssl-signature_algorithm (~> 1.0)
trailblazer-option (0.1.2)
- ttfunk (1.8.0)
- bigdecimal (~> 3.1)
+ ttfunk (1.7.0)
turbo-rails (2.0.5)
actionpack (>= 6.0.0)
activejob (>= 6.0.0)
@@ -1344,6 +1342,7 @@ DEPENDENCIES
table_print (~> 1.5.6)
test-prof (~> 1.3.0)
timecop (~> 0.9.0)
+ ttfunk (~> 1.7.0)
turbo-rails (~> 2.0.0)
turbo_tests!
typed_dag (~> 2.0.2)