Skip to content

Commit

Permalink
use prawn-disable_word_break
Browse files Browse the repository at this point in the history
  • Loading branch information
hidakatsuya committed Nov 25, 2023
1 parent a9ba29e commit 7bf9528
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/thinreports/basic_report/generator/pdf.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# frozen_string_literal: true

require 'prawn'
require 'prawn/disable_word_break'

Prawn::DisableWordBreak.config.default = false

module Thinreports
module BasicReport
Expand Down
1 change: 1 addition & 0 deletions thinreports.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']

s.add_dependency 'prawn', '>= 2.4.0'
s.add_dependency 'prawn-disable_word_break', '>= 2.3.1'
s.add_dependency 'rexml'
end

0 comments on commit 7bf9528

Please sign in to comment.