Behdad Esfahbod

Results 1486 comments of Behdad Esfahbod

@khaledhosny Any chance you can do this?

Can you confirm that you are subsetting to an empty font? Ie. the font has none of the requested Unicodes?

Looks like now the main issue is broken files generated by `CFF2ToCFF`: https://github.com/fonttools/fonttools/issues/3534#issuecomment-2134012246

Working here now: https://github.com/fonttools/fonttools/pull/3536 Still no luck with CFF2ToCFF though.

@liZe please give https://github.com/fonttools/fonttools/pull/3536 a try. I think it should be good now.

> I get this stacktrace: Yes, unfortunately. Can you try instancing without `--downgrade-cff2` and then invoke the `fonttools cffLib.CFF2ToCFF` module on the result? That one I expect to work.

> ```python > output_font = instantiateVariableFont(input_font, axis) > output_font.save('output.otf') > output_font = TTFont('output.otf') Try passing `recalcBBoxes=False` here. > convertCFF2ToCFF(output_font) > output_font.save('output.otf') > ```

> Just in case it helps, Firefox prints a warning: `FormatError: Required "loca" table is not found` That's very weird.