pfa 1.4.3 → 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2942974ca947705d48def83863ec18692165874128d54612f60cb57553f8e88
4
- data.tar.gz: 9a3eba2b6a33051b73812ef7a4d0a4acb9a81152688c965c0864d4bda15341bb
3
+ metadata.gz: 1bfb7e09164010d3d807e9628023cf47f21a479e8737242c2f17df9b689bc11f
4
+ data.tar.gz: 4e0c56a56ad4033149026324c88718ef3944b71035a13c51cd7d6c733c7a6576
5
5
  SHA512:
6
- metadata.gz: 31f39b387d8d33b41e3ccb69ff3a5cc675e03f93c8a64f0b3c908a835592758c3e5c83d9b5e1d83ecbea5274cf9550bd0ea7de3d7892d83841c5a48fa86b5207
7
- data.tar.gz: 4c3b829754752e85b50d89754cbfeed4abe28db25ad1edbdb9f2dac5c7dfe79d98236dcb3246e4ceb3e90003fabfd93a1e929e96ac152832e35f979abc66a25c
6
+ metadata.gz: 7bee78bbe42fd523238fe060b14cca90334ef8ba682098bbc5e28782327f35ae1c11f4070310db5bb4ba72a9097091340371921ed837fd18ea89ec013259a5ab
7
+ data.tar.gz: 4828e97db0bed2878d08df99e0733c1ffdd6d7690f069fe4cc77a9ea34b7fed141bb38a060a7593f60b2c1bf4fc1217fed978f8365520fc418639876564fbc63
@@ -80,12 +80,13 @@ class TableBuilder < AnyBuilder
80
80
  #
81
81
  # Une fonte est-elle définie ?
82
82
  #
83
- options.key?(:font) || options.merge!(font: {name:'Arial', size:8})
84
- options[:font][:name] ||= 'Arial'
85
- options[:font][:size] ||= 8
83
+ options.key?(:font) || options.merge!(font: {name:'Arial', size:8, style: :normal})
84
+ options[:font][:name] ||= 'Arial'
85
+ options[:font][:size] ||= 8
86
+ options[:font][:style] ||= :normal
86
87
 
87
88
  pdf.update do
88
- font(options[:font][:name], **{size: options[:font][:size]})
89
+ font(options[:font][:name], **{size: options[:font][:size], style:options[:font][:style]})
89
90
  if options[:rotated]
90
91
  #
91
92
  # Il faut écrire la table de travers
data/lib/pfa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module PFA
2
- VERSION = "1.4.3"
2
+ VERSION = "1.4.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhilippePerret
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-08 00:00:00.000000000 Z
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yaml