pdf-core 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdf/core/object_store.rb +3 -0
- 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: 2623bbd4ba608b95d098ec76c889920a65edf6f7
|
4
|
+
data.tar.gz: 518d068701cdc3ec25ea5380b262f41d436d9d46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3674b8a9e33c3055983f8b1eded9c4cc2cb83bd5c4c315353b1834d484ba92a896bbd6e4f94ebc34654e46b8ddd78a2c9d633be075962b7900c1c400812406b5
|
7
|
+
data.tar.gz: 1998aee60a685847bd7511898cc7580de080234367a9dc58a6610a9741ea43cab56ea6d00bf20409b2ec1aaa916ef2f1f866e3ce6c4638622bc0397c71699c32
|
@@ -26,6 +26,9 @@ module PDF
|
|
26
26
|
|
27
27
|
@info ||= ref(opts[:info] || {}).identifier
|
28
28
|
@root ||= ref(:Type => :Catalog).identifier
|
29
|
+
if opts[:print_scaling] == :none
|
30
|
+
root.data[:ViewerPreferences] = {:PrintScaling => :None}
|
31
|
+
end
|
29
32
|
if pages.nil?
|
30
33
|
root.data[:Pages] = ref(:Type => :Pages, :Count => 0, :Kids => [])
|
31
34
|
end
|