fontina 0.1.0 → 0.1.1
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 +4 -4
- data/lib/fontina/formats/open_type.rb +2 -2
- data/lib/fontina/{formats/shared/language_codes → language_codes}/mac.rb +1 -1
- data/lib/fontina/{formats/shared/language_codes → language_codes}/windows.rb +1 -1
- data/lib/fontina/version.rb +1 -1
- data/lib/fontina.rb +1 -1
- 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: b3eb74983445f6209937b79d06e271265d6fd699
|
4
|
+
data.tar.gz: 588c9f66c19cff1c22bad78768c19470ef07826c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19c1d8e2d0448beaea0a2d38485f4dd07e6bb492475026b7e084090689c34df7ea1c51849e0c930fb8b5fc1a5a88cfd7a36798bdd213ce188f356b02fe3e4ac0
|
7
|
+
data.tar.gz: a230161bcd65af421965e5fca1ba1abc531443685b53749e1f61f95a7592675dbf64913603080138e2f29e78ba2e76af79a04254f65722120375f28d6699606d
|
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
|
-
|
17
|
+
../language_codes/windows
|
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
|
+
LanguageCodes::WINDOWS[language_id]
|
68
68
|
end
|
69
69
|
|
70
70
|
def get_rsrc_data(fon, type)
|
@@ -1,6 +1,6 @@
|
|
1
|
-
module Fontina
|
1
|
+
module Fontina
|
2
2
|
|
3
|
-
module OpenType
|
3
|
+
module Formats::OpenType
|
4
4
|
OT_VERSION = 0x4f54544f # OTTO
|
5
5
|
TT_VERSION = 0x00010000
|
6
6
|
|
@@ -71,8 +71,8 @@ module Fontina::Formats
|
|
71
71
|
|
72
72
|
LANGUAGES = {
|
73
73
|
unicode: { 0 => nil }.freeze,
|
74
|
-
mac: { 0xffff => nil }.merge!(
|
75
|
-
windows:
|
74
|
+
mac: { 0xffff => nil }.merge!(LanguageCodes::MAC).freeze,
|
75
|
+
windows: LanguageCodes::WINDOWS,
|
76
76
|
}.freeze
|
77
77
|
end
|
78
78
|
|
data/lib/fontina/version.rb
CHANGED
data/lib/fontina.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.1
|
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-01-
|
11
|
+
date: 2017-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bindata
|
@@ -161,9 +161,9 @@ files:
|
|
161
161
|
- lib/fontina/formats/open_type/os2_table.rb
|
162
162
|
- lib/fontina/formats/open_type/table.rb
|
163
163
|
- lib/fontina/formats/open_type/table_directory.rb
|
164
|
-
- lib/fontina/formats/shared/language_codes/mac.rb
|
165
|
-
- lib/fontina/formats/shared/language_codes/windows.rb
|
166
164
|
- lib/fontina/formats/shared/p_string.rb
|
165
|
+
- lib/fontina/language_codes/mac.rb
|
166
|
+
- lib/fontina/language_codes/windows.rb
|
167
167
|
- lib/fontina/meta_package.rb
|
168
168
|
- lib/fontina/package.rb
|
169
169
|
- lib/fontina/version.rb
|