2015-12-08 22:07:36 +03:00
|
|
|
syntax = "proto2";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Open Source'd font metadata proto formats.
|
|
|
|
*/
|
|
|
|
package google.fonts;
|
|
|
|
|
|
|
|
option java_package = "com.google.fonts.proto";
|
|
|
|
option java_outer_classname = "FontsPublic";
|
|
|
|
|
|
|
|
message FamilyProto {
|
|
|
|
required string name = 1;
|
|
|
|
required string designer = 2;
|
|
|
|
required string license = 3;
|
|
|
|
required string category = 4;
|
2017-03-06 22:19:05 +03:00
|
|
|
optional string visibility = 5;
|
|
|
|
required string date_added = 6;
|
|
|
|
repeated FontProto fonts = 7;
|
|
|
|
repeated string aliases = 8;
|
|
|
|
repeated string subsets = 9;
|
2015-12-08 22:07:36 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
message FontProto {
|
|
|
|
required string name = 1;
|
|
|
|
required string style = 2;
|
|
|
|
required int32 weight = 3;
|
|
|
|
required string filename = 4;
|
|
|
|
required string post_script_name = 5;
|
|
|
|
required string full_name = 6;
|
2016-01-11 19:34:30 +03:00
|
|
|
optional string copyright = 7;
|
2017-03-06 22:19:05 +03:00
|
|
|
};
|