papandreou / subset-font

Create a subset of a TrueType/OpenType/WOFF/WOFF2 font using the wasm build of harfbuzz/hb-subset
BSD 3-Clause "New" or "Revised" License
96 stars 6 forks source link

variationAxes wdth does not work #25

Open floratmin opened 1 month ago

floratmin commented 1 month ago

I am trying to subset a font with variation wdth. But as soon I specify any variationAxes settings the css property font-stretch stops working. I am using the font Nunito Sans.

papandreou commented 1 month ago

I think there's a bit too little detail here for me to try to reproduce it. I'll need the exact source font and an example of the exact parameters you're using to subset it. Also, I'd need to understand exactly what you mean by font-stretch not working.

There's a chance that it's a problem with the underlying subsetting engine in harfbuzz/harfbuzzjs. Would you mind checking if it's also reproducible with the hb-subset tool that ships with Harfbuzz?