fontisan 0.2.5 → 0.2.7
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 +4 -4
- data/.rubocop_todo.yml +41 -23
- data/README.adoc +230 -860
- data/lib/fontisan/base_collection.rb +5 -33
- data/lib/fontisan/cli.rb +27 -7
- data/lib/fontisan/collection/dfont_builder.rb +315 -0
- data/lib/fontisan/collection/shared_logic.rb +54 -0
- data/lib/fontisan/commands/convert_command.rb +118 -7
- data/lib/fontisan/commands/pack_command.rb +129 -22
- data/lib/fontisan/config/conversion_matrix.yml +175 -1
- data/lib/fontisan/constants.rb +8 -0
- data/lib/fontisan/converters/collection_converter.rb +438 -0
- data/lib/fontisan/dfont_collection.rb +269 -0
- data/lib/fontisan/font_loader.rb +90 -6
- data/lib/fontisan/parsers/dfont_parser.rb +192 -0
- data/lib/fontisan/true_type_font.rb +8 -46
- data/lib/fontisan/validation/collection_validator.rb +265 -0
- data/lib/fontisan/version.rb +1 -1
- metadata +8 -2
data/lib/fontisan/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fontisan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -127,7 +127,9 @@ files:
|
|
|
127
127
|
- lib/fontisan/binary/structures.rb
|
|
128
128
|
- lib/fontisan/cli.rb
|
|
129
129
|
- lib/fontisan/collection/builder.rb
|
|
130
|
+
- lib/fontisan/collection/dfont_builder.rb
|
|
130
131
|
- lib/fontisan/collection/offset_calculator.rb
|
|
132
|
+
- lib/fontisan/collection/shared_logic.rb
|
|
131
133
|
- lib/fontisan/collection/table_analyzer.rb
|
|
132
134
|
- lib/fontisan/collection/table_deduplicator.rb
|
|
133
135
|
- lib/fontisan/collection/writer.rb
|
|
@@ -159,6 +161,7 @@ files:
|
|
|
159
161
|
- lib/fontisan/config/variable_settings.yml
|
|
160
162
|
- lib/fontisan/config/woff2_settings.yml
|
|
161
163
|
- lib/fontisan/constants.rb
|
|
164
|
+
- lib/fontisan/converters/collection_converter.rb
|
|
162
165
|
- lib/fontisan/converters/conversion_strategy.rb
|
|
163
166
|
- lib/fontisan/converters/format_converter.rb
|
|
164
167
|
- lib/fontisan/converters/outline_converter.rb
|
|
@@ -166,6 +169,7 @@ files:
|
|
|
166
169
|
- lib/fontisan/converters/table_copier.rb
|
|
167
170
|
- lib/fontisan/converters/woff2_encoder.rb
|
|
168
171
|
- lib/fontisan/converters/woff_writer.rb
|
|
172
|
+
- lib/fontisan/dfont_collection.rb
|
|
169
173
|
- lib/fontisan/error.rb
|
|
170
174
|
- lib/fontisan/export/exporter.rb
|
|
171
175
|
- lib/fontisan/export/table_serializer.rb
|
|
@@ -237,6 +241,7 @@ files:
|
|
|
237
241
|
- lib/fontisan/optimizers/subroutine_generator.rb
|
|
238
242
|
- lib/fontisan/optimizers/subroutine_optimizer.rb
|
|
239
243
|
- lib/fontisan/outline_extractor.rb
|
|
244
|
+
- lib/fontisan/parsers/dfont_parser.rb
|
|
240
245
|
- lib/fontisan/parsers/tag.rb
|
|
241
246
|
- lib/fontisan/pipeline/format_detector.rb
|
|
242
247
|
- lib/fontisan/pipeline/output_writer.rb
|
|
@@ -321,6 +326,7 @@ files:
|
|
|
321
326
|
- lib/fontisan/utilities/brotli_wrapper.rb
|
|
322
327
|
- lib/fontisan/utilities/checksum_calculator.rb
|
|
323
328
|
- lib/fontisan/utils/thread_pool.rb
|
|
329
|
+
- lib/fontisan/validation/collection_validator.rb
|
|
324
330
|
- lib/fontisan/validators/basic_validator.rb
|
|
325
331
|
- lib/fontisan/validators/font_book_validator.rb
|
|
326
332
|
- lib/fontisan/validators/opentype_validator.rb
|