obf 0.7.8 → 0.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obf/pdf.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdbd542af4a663ec4b85d8588bea053ea946e461
|
4
|
+
data.tar.gz: 4d0a586090fca67b1db3436280f65d79a63331fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab5713ddf7e40ab053d7585cf970220aff4414f06cff95f37689d556743982509687ac20fe13014a48a411b98eae1ca8d531f739625909ea3e67ddaf84ec5178
|
7
|
+
data.tar.gz: 57bff52590b718bcd5da270c3e52aa373aa7472469c0443114dfef70b496d990af1c82428059523e7d4c82dab30917311fe97c559fc9726a369ee25451282cc7
|
data/lib/obf/pdf.rb
CHANGED
@@ -149,7 +149,7 @@ module OBF::PDF
|
|
149
149
|
pdf.stroke_color "eeeeee"
|
150
150
|
pdf.fill_and_stroke_rounded_rectangle [button_width - 25, page_vertical], 20, text_height, 5
|
151
151
|
pdf.fill_color "000000"
|
152
|
-
pdf.formatted_text_box [{:text => page, :anchor => "page#{page}"}], :at => [button_width - 25,
|
152
|
+
pdf.formatted_text_box [{:text => page, :anchor => "page#{page}"}], :at => [button_width - 25, page_vertical], :width => 20, :height => text_height, :align => :center, :valign => :center
|
153
153
|
end
|
154
154
|
end
|
155
155
|
|