prawn-svg 0.12.0.7 → 0.12.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prawn/svg/font.rb +1 -1
- data/lib/prawn/svg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12bdcc77d39e8bae88b62e6189001a9bf2866018
|
4
|
+
data.tar.gz: 0122b7fd57d24d4b96e02d260e6b4798710dffbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 724bce8dc386296b958884367576a82e689f7cacaa875d513a105081031be5e59ce6f77cbfee0649b1bc24cffe9c3bc6d4c4f732e8a3f74abd7a06c0ad6f69f8
|
7
|
+
data.tar.gz: 6444246d4244458412f8b631ef4b24831ef38bd538d12bf5987540ab94f474420146ff048cb517c63629b5de39e2a3f9aac389d6d5f50e3f6b2ece207d85639b
|
data/lib/prawn/svg/font.rb
CHANGED
@@ -37,7 +37,7 @@ class Prawn::Svg::Font
|
|
37
37
|
Prawn::Svg::Interface.font_path.uniq.collect {|path| Dir["#{path}/*"]}.flatten.each do |filename|
|
38
38
|
information = font_information(filename) rescue nil
|
39
39
|
if information && font_name = (information[16] || information[1])
|
40
|
-
subfamily = (information[17] || information[2]).gsub(/\s+/, "_").downcase.to_sym
|
40
|
+
subfamily = (information[17] || information[2] || "normal").gsub(/\s+/, "_").downcase.to_sym
|
41
41
|
subfamily = :normal if subfamily == :regular
|
42
42
|
(fonts[font_name] ||= {})[subfamily] = filename
|
43
43
|
end
|
data/lib/prawn/svg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-svg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.0.
|
4
|
+
version: 0.12.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roger Nesbitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|