I was sketching out some thoughts on the Allsorts API and noticed that the shape tool would be less concerned with low-level details if it used FontDataImpl so I changed it to use that.
Additionally this makes it gain support for shaping text using WOFF and WOFF2 fonts. I also allowed the font index to be specified on the CLI for TTC and WOFF2 font collections.
I was sketching out some thoughts on the Allsorts API and noticed that the
shape
tool would be less concerned with low-level details if it usedFontDataImpl
so I changed it to use that.Additionally this makes it gain support for shaping text using WOFF and WOFF2 fonts. I also allowed the font index to be specified on the CLI for TTC and WOFF2 font collections.