simoncozens/babelfont

Converting VFJ

Closed this issue · 3 comments

Hi. I'm completely new to fonts. Trying to convert this VFJ file: https://github.com/excalidraw/virgil/blob/main/src/Virgil.vfj

$ babelfont Virgil.vfj Virgil.ttf
Couldn't read Virgil.vfj: 'classes'

Is this a known issue?

That certainly shouldn’t happen. I’ll take a look. (That said the whole library is being overhauled anyway, so a fix may need to go in its replacement.)

I see. If there is an easy workaround that can be automated (like adding a simple property to the JSON), it will do for me.

I've just pushed two commits which allow this file to be read and compiled successfully. (Don't know about "correctly", but certainly successfully...)