pdf_watermark 0.1.5.1 → 0.1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdf_watermark/version.rb +1 -1
- data/lib/pdf_watermark/water_mark.rb +2 -2
- 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: 6a5936ab3b3a9a9add697b788022ddfcd034d0a4
|
4
|
+
data.tar.gz: c455e622e3339f3b6a77bfe883820ebd115d4c54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb64e8fd6adb0b90d9ecbf4ac761bd090b887ffebb04a82b797d75f8b35195b0f8effc8556ff3207aaa8f8d672a761d8c1b11b9d8393a2c661ea16fc8331d402
|
7
|
+
data.tar.gz: edb4c400f95e4c390689e4a6426656b85a670429263901c7e872eb235922e1670dadaf7203e41c70042fa98181b5085a73735f5eb36e266f3f830267eda65fbe
|
@@ -73,8 +73,8 @@ module PdfWatermark
|
|
73
73
|
box_width = text_width(@mark_string, @font_size)
|
74
74
|
temp_y = @y
|
75
75
|
indent = false
|
76
|
-
offset_x = box_width +
|
77
|
-
offset_y = box_height +
|
76
|
+
offset_x = box_width + 5 * @font_size
|
77
|
+
offset_y = box_height + 5 * @font_size
|
78
78
|
bounding_box([@x, @y], width: @content_width, height: @content_height) do
|
79
79
|
while temp_y > 0 do
|
80
80
|
rotate @angle, origin: [@content_width/2, @content_height/2] do
|