extract_ttc 0.3.0-x86_64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9197a7d268690b6a11ee2450db7fe449566327d8e635c6b9d2b2cd57a7d6973a
4
+ data.tar.gz: f79c8d902df03eaa7b0f5affe7dc79268e24fdcb85f0ba949dd7c7545ceef049
5
+ SHA512:
6
+ metadata.gz: d28c31ffd4b7a49448c148a14eee1f5b4ddb1083307b7a4b8fca8fdfead8897238e1ed5f5939eea9a3fd0d2643b21daca07160d1e603298886da683686b07768
7
+ data.tar.gz: cf235f6ba88645fc5549ed37e6f81bbfb50abab80509ef6144889e94fb65e206334b3db1ec79d6e8bc9277b280991c2e8831ba45f8950bf11f330b997c210b88
data/.gitignore ADDED
@@ -0,0 +1,15 @@
1
+ /.bundle/
2
+ /vendor/
3
+ /.yardoc
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /Gemfile.lock
11
+ **/*.so
12
+ **/*.o
13
+
14
+ # remote file cache
15
+ .rubocop-*
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,5 @@
1
+ inherit_from:
2
+ - 'https://raw.githubusercontent.com/fontist/oss-guides/master/ci/rubocop.yml'
3
+
4
+ AllCops:
5
+ SuggestExtensions: false
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in extract_ttc.gemspec
4
+ gemspec
data/LICENSE.adoc ADDED
@@ -0,0 +1,13 @@
1
+ = BSD 3-Clause License
2
+
3
+ Copyright (c) 2020 Ribose Inc. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
+
9
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10
+
11
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12
+
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.adoc ADDED
@@ -0,0 +1,121 @@
1
+ = ExtractTtc: Ruby gem to extract TTF from TTC
2
+
3
+ == Purpose
4
+
5
+ The gem lets you extract individual TrueType font files (`.ttf`) from a TrueType Collection file (`.ttc`).
6
+
7
+ `ExtractTtc` wraps functionality provided by `stripttc.c`, originally from the
8
+ https://github.com/fontforge/fontforge[FontForge project] as an FFI extension.
9
+
10
+ Specifically, `stripttc.c` is part of the `contribs` directory of FontForge, which
11
+ is
12
+ https://github.com/fontforge/fontforge/blob/21ad4a18fb3d4becfe566d8215eba4483b0ddc4b/contrib/CMakeLists.txt#L1[assigned]
13
+ the
14
+ https://github.com/fontforge/fontforge/blob/21ad4a18fb3d4becfe566d8215eba4483b0ddc4b/LICENSE#L12-L57[BSD 3-Clause license].
15
+
16
+
17
+ == Installation
18
+
19
+ Add this line to your application's `Gemfile`:
20
+
21
+ [source,ruby]
22
+ ----
23
+ gem 'extract_ttc'
24
+ ----
25
+
26
+ And then execute:
27
+
28
+ [source,sh]
29
+ ----
30
+ $ bundle install
31
+ ----
32
+
33
+ Or install it yourself as:
34
+
35
+ [source,sh]
36
+ ----
37
+ $ gem install extract_ttc
38
+ ----
39
+
40
+ == Usage
41
+
42
+ [source,ruby]
43
+ ----
44
+ ExtractTtc.extract("path/to/ttc/Helvetica.ttc")
45
+ ----
46
+
47
+ Would extract contained TTF files from TTC to a current directory.
48
+
49
+
50
+ == Development
51
+
52
+ We are following Sandi Metz's Rules for this gem, you can read the
53
+ http://robots.thoughtbot.com/post/50655960596/sandi-metz-rules-for-developers[description of the rules here].
54
+ All new code should follow these
55
+ rules. If you make changes in a pre-existing file that violates these rules you
56
+ should fix the violations as part of your contribution.
57
+
58
+ === Setup
59
+
60
+ Clone the repository:
61
+
62
+ [source,sh]
63
+ ----
64
+ git clone https://github.com/fontist/extract_ttc
65
+ ----
66
+
67
+ Setup your environment:
68
+
69
+ [source,sh]
70
+ ----
71
+ bin/setup
72
+ ----
73
+
74
+ Run the test suite:
75
+
76
+ [source,sh]
77
+ ----
78
+ bundle exec rspec
79
+ ----
80
+
81
+ If any changes are made in the C code, then the extension needs to be recompiled:
82
+
83
+ [source,sh]
84
+ ----
85
+ bundle exec rake recompile
86
+ ----
87
+
88
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment.
89
+
90
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to https://rubygems.org[rubygems.org].
91
+
92
+
93
+ == Contributing
94
+
95
+ First, thank you for contributing! We love pull requests from everyone. By
96
+ participating in this project, you hereby grant https://www.ribose.com[Ribose Inc.] the
97
+ right to grant or transfer an unlimited number of non exclusive licenses or
98
+ sub-licenses to third parties, under the copyright covering the contribution
99
+ to use the contribution by all means.
100
+
101
+ Here are a few technical guidelines to follow:
102
+
103
+ 1. Open an https://github.com/fontist/extract_ttc/issues[issue] to discuss a new feature.
104
+ 1. Write tests to support your new feature.
105
+ 1. Make sure the entire test suite passes locally and on CI.
106
+ 1. Open a Pull Request.
107
+ 1. https://github.com/thoughtbot/guides/tree/master/protocol/git#write-a-feature[Squash your commits]
108
+ after receiving feedback.
109
+ 1. Party!
110
+
111
+
112
+ == License
113
+
114
+ This gem is distributed with a BSD 3-Clause license.
115
+
116
+ `stripttc.c` is obtained from:
117
+ https://github.com/fontforge/fontforge/blob/master/contrib/fonttools/stripttc.c
118
+
119
+ The BSD 3-Clause licence for `stripttc.c` is provided in `ext/stripttc/LICENSE`.
120
+
121
+ This gem is developed, maintained and funded by https://www.ribose.com/[Ribose Inc.]
data/Rakefile ADDED
@@ -0,0 +1,108 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/clean"
3
+ require "rake/extensiontask"
4
+ require "rake_compiler_dock"
5
+
6
+ require "rubygems"
7
+ require "rubygems/package_task"
8
+
9
+ # ++ Allow rake-compiler-dock configuration without dev. dependencies
10
+ begin
11
+ require "rubocop/rake_task"
12
+ RuboCop::RakeTask.new
13
+ rescue LoadError
14
+ end
15
+
16
+ begin
17
+ require "rspec/core/rake_task"
18
+ RSpec::Core::RakeTask.new(:spec)
19
+ rescue LoadError
20
+ end
21
+ # -- Allow rake-compiler-dock configuration without dev. dependencies
22
+
23
+ R_CC_V = "RUBY_CC_VERSION=3.1.0:3.0.0:2.7.0".freeze
24
+ bundler_ver = ENV["BUNDLER_VER"] || "2.3.22"
25
+
26
+ task default: :spec
27
+ task spec: :compile
28
+
29
+ spec = Gem::Specification.load("extract_ttc.gemspec")
30
+
31
+ ext_thru_rc_dock = %w[x86_64-linux aarch64-linux] +
32
+ %w[x64-mingw32 x64-mingw-ucrt x86_64-darwin arm64-darwin]
33
+
34
+ ext_thru_musl_cc = %w[x86_64-linux-musl aarch64-linux-musl]
35
+
36
+ # add your default gem packing task
37
+ Gem::PackageTask.new(spec) do |pkg|
38
+ end
39
+
40
+ # HACK: Prevent rake-compiler from overriding required_ruby_version,
41
+ # because the shared library here is Ruby-agnostic.
42
+ # See https://github.com/rake-compiler/rake-compiler/issues/153
43
+ module FixRequiredRubyVersion
44
+ def required_ruby_version=(*); end
45
+ end
46
+ Gem::Specification.prepend(FixRequiredRubyVersion)
47
+
48
+ exttask = Rake::ExtensionTask.new("stripttc", spec) do |ext|
49
+ ext.lib_dir = "lib"
50
+ ext.cross_compile = true
51
+ ext.cross_platform = ext_thru_rc_dock + ext_thru_musl_cc
52
+ ext.cross_compiling do |s|
53
+ s.files.reject! { |path| File.fnmatch?("ext/*", path) }
54
+ end
55
+ end
56
+
57
+ namespace "gem" do
58
+ desc "Cache dependencies"
59
+ task "cache" do
60
+ sh <<~RCD
61
+ bundle config set cache_all true &&
62
+ bundle config set --local without 'development' &&
63
+ bundle package
64
+ RCD
65
+ end
66
+
67
+ desc "build native gems with rake-compiler-dock"
68
+ task "native" => "cache" do
69
+ ext_thru_rc_dock.each do |plat|
70
+ RakeCompilerDock.sh <<~RCD, platform: plat
71
+ gem install bundler:#{bundler_ver} --no-document &&
72
+ bundle install --local &&
73
+ bundle exec rake native:#{plat} gem #{R_CC_V}
74
+ RCD
75
+ end
76
+ end
77
+ end
78
+
79
+ namespace "gem" do
80
+ ext_thru_rc_dock.each do |plat|
81
+ desc "Build native gems with rake-compiler-dock in parallel"
82
+ multitask "parallel" => plat
83
+
84
+ desc "Build the native gem for #{plat}"
85
+ task plat => "cache" do
86
+ RakeCompilerDock.sh <<~RCD, platform: plat
87
+ gem install bundler:#{bundler_ver} --no-document &&
88
+ bundle install --local &&
89
+ bundle exec rake native:#{plat} \
90
+ pkg/#{exttask.gem_spec.full_name}-#{plat}.gem \
91
+ #{R_CC_V}
92
+ RCD
93
+ end
94
+ end
95
+
96
+ ext_thru_musl_cc.each do |plat|
97
+ desc "Define the gem task to build on the #{plat} platform (binary gem)"
98
+ task plat do
99
+ s = spec.dup
100
+ s.platform = Gem::Platform.new(plat)
101
+ s.files += Dir.glob("lib/extract_ttc/*.{dll,so,dylib}")
102
+ s.extensions = []
103
+
104
+ task = Gem::PackageTask.new(s)
105
+ task.define
106
+ end
107
+ end
108
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "extract_ttc"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/rspec ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("bundle", __dir__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if /This file was generated by Bundler/.match?(File.read(bundle_binstub, 300))
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rspec-core", "rspec")
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+ bundle exec rake compile
@@ -0,0 +1,41 @@
1
+ require_relative "lib/extract_ttc/version"
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "extract_ttc"
5
+ spec.version = ExtractTtc::VERSION
6
+ spec.authors = ["Ribose Inc."]
7
+ spec.email = ["operations@ribose.com"]
8
+
9
+ spec.summary = "Extract TTC file to TTF files"
10
+ spec.description = "Extract font collection to separate font files"
11
+ spec.homepage = "https://github.com/fontist/extract_ttc"
12
+ spec.license = "BSD-3-Clause"
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
14
+
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = "https://github.com/fontist/extract_ttc"
17
+ spec.metadata["changelog_uri"] = "https://github.com/fontist/extract_ttc"
18
+
19
+ spec.files = Dir.chdir(__dir__) do
20
+ `git ls-files -z`
21
+ .split("\x0").reject { |f| f.match(%r{^(.github|test|spec|features)/}) }
22
+ end
23
+
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.add_runtime_dependency "ffi", "~> 1.0"
29
+ spec.add_runtime_dependency "bundler", '~> 2.3', '>= 2.3.22'
30
+ spec.add_runtime_dependency "rake", "~> 13"
31
+ spec.add_runtime_dependency "rake-compiler", "~> 1.2"
32
+ spec.add_runtime_dependency "rake-compiler-dock", "~> 1.2"
33
+
34
+ spec.add_development_dependency "rspec", "~> 3.0"
35
+ spec.add_development_dependency "rubocop", "~> 1.5"
36
+ spec.add_development_dependency "rubocop-performance", "~> 1.10"
37
+ spec.add_development_dependency "rubocop-rails", "~> 2.9"
38
+
39
+ spec.extensions << "ext/stripttc/extconf.rb"
40
+ spec.metadata["rubygems_mfa_required"] = "false"
41
+ end
Binary file
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ module ExtractTtc
2
+ VERSION = "0.3.0".freeze
3
+ end
@@ -0,0 +1,79 @@
1
+ require "extract_ttc/version"
2
+ require "ffi"
3
+ require "tempfile"
4
+
5
+ module ExtractTtc
6
+ class Error < StandardError; end
7
+
8
+ class ReadFileError < Error; end
9
+
10
+ class InvalidFileError < Error; end
11
+
12
+ class WriteFileError < Error; end
13
+
14
+ class UnknownResultError < Error; end
15
+
16
+ extend FFI::Library
17
+ # NOTE: ffi doesn't support bundles out of box https://github.com/ffi/ffi/issues/42#issuecomment-750031554
18
+ # NOTE: rake-compiler doesn't support dylib generation https://github.com/rake-compiler/rake-compiler/issues/183
19
+ lib_name = if File.exists?(File.join(File.dirname(__FILE__),
20
+ "stripttc.bundle"))
21
+ "stripttc.bundle"
22
+ else
23
+ "stripttc.so"
24
+ end
25
+ ffi_lib File.join(File.dirname(__FILE__), lib_name)
26
+ attach_function :handlefile, [:string], :int
27
+
28
+ def self.extract(path)
29
+ stdout, stderr, code = capture3 do
30
+ handlefile(path)
31
+ end
32
+
33
+ return handle_error(code, stderr) unless code.zero?
34
+
35
+ fetch_filenames(stdout)
36
+ end
37
+
38
+ def self.handle_error(code, stderr)
39
+ case code
40
+ when -1
41
+ raise ReadFileError, stderr
42
+ when -2
43
+ raise InvalidFileError, stderr
44
+ when -3
45
+ raise WriteFileError, stderr
46
+ else
47
+ raise UnknownResultError, "Return code: #{code}"
48
+ end
49
+ end
50
+
51
+ def self.capture3
52
+ stderr = status = nil
53
+
54
+ stdout = capture_stream($stdout) do
55
+ stderr = capture_stream($stderr) do
56
+ status = yield
57
+ end
58
+ end
59
+
60
+ [stdout, stderr, status]
61
+ end
62
+
63
+ def self.capture_stream(stream_io)
64
+ origin_stream = stream_io.dup
65
+
66
+ Tempfile.open("captured_stream") do |captured_stream|
67
+ stream_io.reopen(captured_stream)
68
+ yield
69
+ captured_stream.rewind
70
+ return captured_stream.read
71
+ end
72
+ ensure
73
+ stream_io.reopen(origin_stream)
74
+ end
75
+
76
+ def self.fetch_filenames(stdout)
77
+ stdout.split("=>").last.split
78
+ end
79
+ end
metadata ADDED
@@ -0,0 +1,195 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: extract_ttc
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: x86_64-darwin
6
+ authors:
7
+ - Ribose Inc.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-09-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ffi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.3'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 2.3.22
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.3'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.3.22
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '13'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '13'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake-compiler
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.2'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '1.2'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake-compiler-dock
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.2'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '1.2'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rspec
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '3.0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '3.0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rubocop
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.5'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '1.5'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rubocop-performance
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '1.10'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '1.10'
131
+ - !ruby/object:Gem::Dependency
132
+ name: rubocop-rails
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '2.9'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '2.9'
145
+ description: Extract font collection to separate font files
146
+ email:
147
+ - operations@ribose.com
148
+ executables: []
149
+ extensions: []
150
+ extra_rdoc_files: []
151
+ files:
152
+ - ".gitignore"
153
+ - ".rspec"
154
+ - ".rubocop.yml"
155
+ - Gemfile
156
+ - LICENSE.adoc
157
+ - README.adoc
158
+ - Rakefile
159
+ - bin/console
160
+ - bin/rspec
161
+ - bin/setup
162
+ - extract_ttc.gemspec
163
+ - lib/2.7/stripttc.bundle
164
+ - lib/3.0/stripttc.bundle
165
+ - lib/3.1/stripttc.bundle
166
+ - lib/extract_ttc.rb
167
+ - lib/extract_ttc/version.rb
168
+ homepage: https://github.com/fontist/extract_ttc
169
+ licenses:
170
+ - BSD-3-Clause
171
+ metadata:
172
+ homepage_uri: https://github.com/fontist/extract_ttc
173
+ source_code_uri: https://github.com/fontist/extract_ttc
174
+ changelog_uri: https://github.com/fontist/extract_ttc
175
+ rubygems_mfa_required: 'false'
176
+ post_install_message:
177
+ rdoc_options: []
178
+ require_paths:
179
+ - lib
180
+ required_ruby_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: 2.6.0
185
+ required_rubygems_version: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - ">="
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ requirements: []
191
+ rubygems_version: 3.3.4
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: Extract TTC file to TTF files
195
+ test_files: []