google / google/fonts

Can't parse primary_language attribut with the current fonts_public.proto file

Open
#5,831 0 comments 0 reactions 0 assignees View on GitHub
I API / Website / Platform I Request I Tools / workflow / repo
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

Hello,

I'm parsing METADATA.pb files from https://github.com/google/fonts/archive/main.zip.
I'm using the file here to build my parser : https://github.com/googlefonts/gftools/blob/main/Lib/gftools/fonts_public.proto

In the main package the file `googlefonts/fonts-main/ofl/pushster/METADATA.pb` has `primary_language` attribut.

Where can i find a up to date proto file?

Edit: there is also `fonts-main/ofl/wixmadefortext` with a new `position` attribut

`google.protobuf.text_format.ParseError: 23:3 : Message type "google.fonts_public.FontProto" has no field named "position".`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.