Google Font Github Submission

Hello,

I have a problem with the upload of files on the Github for the Google Fonts and I was wondering whether you could help.

To give you a glimpse of the problem, I am uploading the file in .glyphs format as per their request but during the platform’s tests and runs, it says there is an error on the code line of the file.

I don’t know if I can explain it better as I am not so familiar with this stuff.
Anyway, let me thank you in advance for your time!

Best regards,
Thanos

Can you check what is around line 581 in your glyphs file?

Hi,
I am sending you a printscreen.

Just to inform you, I tried and put the symbol “;” in the line before and after the “=” but nothing changed,

If I’m counting correctly, there’s one closing brace too many. Delete line 591.

Hi,

I tried what you mentioned above, and the problem still appears.

Can you send me the file?

The platform does not allow me to upload the file, so I am sending you two links.
One from the github with the file and one wetransfer link.

What version of Glyphs do you have?

To tell you the truth, I use windows pc and not Mac.

But what version of Glyphs or what app did you use to write the .glyphs file?

I use Fontlab 7.
I exported the file in glyphs format.

Then you need to ask the Fontlab developer to fix the .glyphs file export.

The file misses some ; one a few lines.

Got it! Thanks for your time!

Doesn’t Google Fonts accept FontLab source files? You just need to have a step in your build script that converts VFB to UFO, as explained near the end of this page: googlefonts.github.io | Google Fonts documentation

No, it doesn’t accept VFC files.

You’re right, the vfb2ufo tool does not work with FontLab’s newer VFC format. FontLab does support UFO, which is more universal than .glyphs format, so it might be less prone to errors and would save a step in your build process. You might even be able to work directly with UFO as your source format and abandon the VFC format altogether. This would enable others to contribute to your project using their font editor of choice. It might restrict you from using some proprietary features in FontLab, as it does in Glyphs when you work with UFO sources.

I will try to work with UFO format but I will need some time to get used to it.

1 Like