fontina 0.1.5 → 0.2.0

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: 6f232135b3ea243c6a97e4cd5894a0210b7f3c5e
4
- data.tar.gz: 83dbe8410e42a9aebbcfb85f8bbf8b4cfa80e48c
3
+ metadata.gz: 55ad6810cfcec0020b678f4b3965ea130a57ff43
4
+ data.tar.gz: 7c8e9661ac7b0fe6e887e99c0d2dacf5cb1aeb88
5
5
  SHA512:
6
- metadata.gz: a08fe315097fa9669ab8af5d16a423fedbd8ea45be6d53f7f7242549bd42836bc989c860c2392d04914b0fb6a819a71d29c5068c6fd7712020f64db6798242fd
7
- data.tar.gz: 8dd131a976056ec101eb0d266e6e040938043a09e4ed74f09e71852082bddeeb5b58ef3ce9c05e25ba3a48f24282cc2bbdcdb0967013ca97ba413fc080ec3a62
6
+ metadata.gz: a133265c0a4ecdb51b1610285925e33d3291ae578ae93e06de7aa3f4e9661bf8a59f1c79f129f70a8bb0525bd2f4a909420080276fe54a14f3d5178753a7d9a9
7
+ data.tar.gz: 6fe9dd534c8d136b9731698bf38679c74034f73203357f14a28bd85feaca210580822f5dff9db39907660452c041807ad3258c652b6543476ced634f208b3b69
@@ -45,6 +45,7 @@ module Fontina
45
45
  .flat_map(&:dir).map(&:entry)
46
46
  .map do |e|
47
47
  Font[
48
+ [],
48
49
  [QualifiedName[e.face_name, :windows, language]],
49
50
  e.font_type[0] == 1 ? :vector : :raster,
50
51
  e.points,
@@ -35,10 +35,11 @@ module Fontina
35
35
  name_records = get_table(ot, 'name').names
36
36
 
37
37
  Package[
38
- name_records.find_all { |n| n.name_id == 4 }
39
- .map { |n| QualifiedName[n.string, n.platform.value, n.language.value] },
38
+ [],
40
39
 
41
40
  [Font[
41
+ name_records.find_all { |n| n.name_id == 4 }
42
+ .map { |n| QualifiedName[n.string, n.platform.value, n.language.value] },
42
43
  name_records.find_all { |n| n.name_id == 1 }
43
44
  .map { |n| QualifiedName[n.string, n.platform.value, n.language.value] },
44
45
  :vector,
@@ -6,7 +6,7 @@ module Fontina
6
6
  )
7
7
 
8
8
  Font = Mores::ImmutableStruct.new(
9
- *%i[family_names type points weight italic underline strikeout],
9
+ *%i[names family_names type points weight italic underline strikeout],
10
10
  strict: true
11
11
  )
12
12
 
@@ -1,3 +1,3 @@
1
1
  module Fontina
2
- VERSION = '0.1.5'
2
+ VERSION = '0.2.0'
3
3
  end
data/lib/fontina.rb CHANGED
@@ -14,9 +14,9 @@ end
14
14
 
15
15
  %w[
16
16
  version
17
- fetcher
18
- format
19
17
  package
18
+ format
19
+ fetcher
20
20
  meta_package
21
21
  ].each { |file| require "fontina/#{file}" }
22
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Petter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2017-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bindata