prawn-svg 0.12.0.7 → 0.12.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc94ff4013bd61fd3fa325d962a4a3af6a76f5fc
4
- data.tar.gz: a86c71075ce89da72ffe7c9dfdd9540786375e42
3
+ metadata.gz: 12bdcc77d39e8bae88b62e6189001a9bf2866018
4
+ data.tar.gz: 0122b7fd57d24d4b96e02d260e6b4798710dffbc
5
5
  SHA512:
6
- metadata.gz: 7340efb599924f5b9ec1f7712914199ed2fa9993f925da4d6eccc7efcdcdbbea8d26c5c170e01e06b098bac58f95c04a2899a5270d17b131c3daae94dc74c375
7
- data.tar.gz: 2f94d369d9a476dabb19ff3f9d408e3a6f34dfafb9595615ac5bb0a9b53c4f518bc66f74230fee4ffbe1ee4a740575ff784c335d7c8742b42f6c0f5c232e598c
6
+ metadata.gz: 724bce8dc386296b958884367576a82e689f7cacaa875d513a105081031be5e59ce6f77cbfee0649b1bc24cffe9c3bc6d4c4f732e8a3f74abd7a06c0ad6f69f8
7
+ data.tar.gz: 6444246d4244458412f8b631ef4b24831ef38bd538d12bf5987540ab94f474420146ff048cb517c63629b5de39e2a3f9aac389d6d5f50e3f6b2ece207d85639b
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Prawn
2
2
  module Svg
3
- VERSION = '0.12.0.7'
3
+ VERSION = '0.12.0.8'
4
4
  end
5
5
  end
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.7
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-08-16 00:00:00.000000000 Z
11
+ date: 2013-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn