1
0
mirror of https://github.com/google/fonts.git synced 2024-12-01 03:06:03 +03:00
fonts/tools/fonts_public.proto
2017-03-06 19:34:36 +00:00

30 lines
714 B
Protocol Buffer

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;
required string date_added = 5;
repeated FontProto fonts = 6;
repeated string aliases = 7;
repeated string subsets = 8;
};
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;
optional string copyright = 7;
};