fontina 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fontina/formats/fon.rb +2 -2
- data/lib/fontina/formats/open_type/constants.rb +2 -2
- data/lib/fontina/formats/open_type.rb +2 -2
- data/lib/fontina/{language_codes/mac.rb → mac/language_codes.rb} +2 -2
- data/lib/fontina/version.rb +1 -1
- data/lib/fontina/{language_codes/windows.rb → windows/language_codes.rb} +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f232135b3ea243c6a97e4cd5894a0210b7f3c5e
|
4
|
+
data.tar.gz: 83dbe8410e42a9aebbcfb85f8bbf8b4cfa80e48c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08fe315097fa9669ab8af5d16a423fedbd8ea45be6d53f7f7242549bd42836bc989c860c2392d04914b0fb6a819a71d29c5068c6fd7712020f64db6798242fd
|
7
|
+
data.tar.gz: 8dd131a976056ec101eb0d266e6e040938043a09e4ed74f09e71852082bddeeb5b58ef3ce9c05e25ba3a48f24282cc2bbdcdb0967013ca97ba413fc080ec3a62
|
data/lib/fontina/formats/fon.rb
CHANGED
@@ -14,7 +14,7 @@ module Fontina
|
|
14
14
|
def container
|
15
15
|
@container ||= begin
|
16
16
|
%w[
|
17
|
-
../language_codes
|
17
|
+
../windows/language_codes
|
18
18
|
shared/p_string
|
19
19
|
fon/constants
|
20
20
|
fon/dos_header
|
@@ -64,7 +64,7 @@ module Fontina
|
|
64
64
|
.flat_map(&:data).map(&:locale)
|
65
65
|
.first
|
66
66
|
|
67
|
-
|
67
|
+
Windows::LANGUAGE_CODES[language_id]
|
68
68
|
end
|
69
69
|
|
70
70
|
def get_rsrc_data(fon, type)
|
@@ -67,8 +67,8 @@ module Fontina
|
|
67
67
|
|
68
68
|
LANGUAGES = {
|
69
69
|
unicode: { 0 => nil }.freeze,
|
70
|
-
mac: { 0xffff => nil }.merge!(
|
71
|
-
windows:
|
70
|
+
mac: { 0xffff => nil }.merge!(Mac::LANGUAGE_CODES).freeze,
|
71
|
+
windows: Windows::LANGUAGE_CODES,
|
72
72
|
}.freeze
|
73
73
|
end
|
74
74
|
|
data/lib/fontina/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.5
|
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-
|
11
|
+
date: 2017-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bindata
|
@@ -163,11 +163,11 @@ files:
|
|
163
163
|
- lib/fontina/formats/open_type/table_directory.rb
|
164
164
|
- lib/fontina/formats/shared/e_string.rb
|
165
165
|
- lib/fontina/formats/shared/p_string.rb
|
166
|
-
- lib/fontina/language_codes
|
167
|
-
- lib/fontina/language_codes/windows.rb
|
166
|
+
- lib/fontina/mac/language_codes.rb
|
168
167
|
- lib/fontina/meta_package.rb
|
169
168
|
- lib/fontina/package.rb
|
170
169
|
- lib/fontina/version.rb
|
170
|
+
- lib/fontina/windows/language_codes.rb
|
171
171
|
homepage: http://github.com/michaeljpetter/fontina
|
172
172
|
licenses:
|
173
173
|
- MIT
|