fontist 1.10.1 → 1.11.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +1 -1
- data/README.adoc +56 -10
- data/fontist.gemspec +2 -2
- data/lib/fontist/cli.rb +5 -10
- data/lib/fontist/font_installer.rb +17 -3
- data/lib/fontist/formula.rb +4 -0
- data/lib/fontist/google_cli.rb +29 -0
- data/lib/fontist/import/files/collection_file.rb +10 -1
- data/lib/fontist/import/formula_builder.rb +25 -4
- data/lib/fontist/import/google/new_fonts_fetcher.rb +44 -33
- data/lib/fontist/import/google.rb +18 -0
- data/lib/fontist/import/google_check.rb +0 -7
- data/lib/fontist/import/google_import.rb +26 -142
- data/lib/fontist/import/helpers/system_helper.rb +1 -1
- data/lib/fontist/import/otf/font_file.rb +5 -1
- data/lib/fontist/import/otf_parser.rb +2 -0
- data/lib/fontist/import/recursive_extraction.rb +4 -1
- data/lib/fontist/index.rb +0 -27
- data/lib/fontist/system_font.rb +9 -6
- data/lib/fontist/system_index.rb +43 -29
- data/lib/fontist/update.rb +21 -7
- data/lib/fontist/utils/downloader.rb +41 -19
- data/lib/fontist/version.rb +1 -1
- data/lib/fontist.rb +21 -15
- metadata +31 -36
- data/.github/workflows/check_google.yml +0 -28
- data/README.md +0 -582
- data/lib/fontist/formula_paths.rb +0 -44
- data/lib/fontist/import/google/fonts_public.md +0 -10
- data/lib/fontist/import/google/fonts_public.pb.rb +0 -71
- data/lib/fontist/import/google/fonts_public.proto +0 -46
@@ -1,46 +0,0 @@
|
|
1
|
-
syntax = "proto2";
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Open Source'd font metadata proto formats.
|
5
|
-
*/
|
6
|
-
package google.fonts;
|
7
|
-
|
8
|
-
option java_package = "com.google.fonts.proto";
|
9
|
-
option java_outer_classname = "FontsPublic";
|
10
|
-
|
11
|
-
message FamilyProto {
|
12
|
-
required string name = 1;
|
13
|
-
required string designer = 2;
|
14
|
-
required string license = 3;
|
15
|
-
required string category = 4;
|
16
|
-
required string date_added = 5;
|
17
|
-
repeated FontProto fonts = 6;
|
18
|
-
repeated string aliases = 7;
|
19
|
-
repeated string subsets = 8;
|
20
|
-
optional string ttf_autohint_args = 9;
|
21
|
-
repeated AxisProto axes = 10;
|
22
|
-
map<string, float> api_default_overrides = 11;
|
23
|
-
optional SourceProto source = 12;
|
24
|
-
};
|
25
|
-
|
26
|
-
message FontProto {
|
27
|
-
required string name = 1;
|
28
|
-
required string style = 2;
|
29
|
-
required int32 weight = 3;
|
30
|
-
required string filename = 4;
|
31
|
-
required string post_script_name = 5;
|
32
|
-
required string full_name = 6;
|
33
|
-
optional string copyright = 7;
|
34
|
-
};
|
35
|
-
|
36
|
-
message AxisProto {
|
37
|
-
optional string tag = 1;
|
38
|
-
optional float min_value = 2;
|
39
|
-
optional float default_value = 3;
|
40
|
-
optional float max_value = 4;
|
41
|
-
};
|
42
|
-
|
43
|
-
message SourceProto {
|
44
|
-
optional string repository_url = 1;
|
45
|
-
optional string commit = 2;
|
46
|
-
}
|