ttfunk 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ttfunk/table/cmap.rb +4 -3
- 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: a769f887e0602c169c60cd4dd6bc124abc7381e4
|
4
|
+
data.tar.gz: 24f486228876268dc8d9f7ce7eb9150c39f70642
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d9690af986ed9ff9d4a0d395e84a7fd79b7ee112a03c88085d6670c8eb2d2f5c637193da617da0b2f9dca562da56701aebd0dd35cf0921a930da801096af058
|
7
|
+
data.tar.gz: 43fc358d94b88e59668c8954f08e633de8dbd5f0e90497b2e606a6d21d9e768c67342ce227c52d7af1fb33253f3eb1446796ee891f640cbf5fb901fc63f7b719
|
data/lib/ttfunk/table/cmap.rb
CHANGED
@@ -13,9 +13,10 @@ module TTFunk
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def unicode
|
16
|
-
# Because most callers just call .first on the result, put tables with
|
17
|
-
#
|
18
|
-
@unicode ||= @tables.select { |table| table.unicode?
|
16
|
+
# Because most callers just call .first on the result, put tables with
|
17
|
+
# highest-number format first. Unsupported formats will be ignored.
|
18
|
+
@unicode ||= @tables.select { |table| table.unicode? && table.supported? }
|
19
|
+
.sort{|a,b| b.format <=> a.format }
|
19
20
|
end
|
20
21
|
|
21
22
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ttfunk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregory Brown
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2014-08-
|
15
|
+
date: 2014-08-29 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rdoc
|