Cesare Gilento

Results 32 comments of Cesare Gilento

A first script to calculate vertical alignment zones: [recalc_zones.zip](https://github.com/ftCLI/FoundryTools-CLI/files/13535985/recalc_zones.zip) Note: instead of using `otfstemhist`, I use FontTools `BoundsPen` here. The reason is that I noticed that `otfstemhist` misses some extrema....

Ouch! Thanks for the f, totally missed it and I will fix. Regarding other languages and OT features, I was thinking to build a sort of command line interface (like...

Yes, BoundsPen calculates the correct bounds even if there aren’t nodes at extremes. I use pathops simplify to correct the contours direction when converting ttf to otf (Qu2CuPen works, but...

Made a new release where recalculation of zones and stems is silently ran in TTF to OTF conversion. The added files are attached: [snippets.zip](https://github.com/ftCLI/FoundryTools-CLI/files/13545207/snippets.zip) I'll think about how to make...

I'm still working on it and the link you posted is very useful, thanks! I will dig into it and hopefully update the lists of glyphs processed by default. For...

If can be of any help, I’ve already adapted removeOverlaps to work with CFF. https://github.com/ftCLI/FoundryTools-CLI-2/blob/0b1a21c50130160db4558e47058b8f07d3cf8be8/foundrytools_cli_2/lib/skia/skia_tools.py#L313 It also corrects contours direction and removes tiny paths (like AFDKO’s `checkoutlinesufo`) but you can...

> > But I cannot find any lightweight CLI way to losslessly convert TTF TrueType to OTF PostScript. > > A quick update with the solution to my question since...

> Thank you so much @ftCLI, it worked flawlessly with `-t 0.0`. The only minor improvement I'd like to suggest is making package compatible with PyInstaller in the future. I've...

Sorry, I didn't clarify. Add the following two lines to ftcli_converter.py, and then generate the executable: ``` if __name__ == "__main__": font_converter() ``` I'll invesigate. Maybe open an issue.

It's a problem with the font: first glyph is not named `.notdef` but `glyph00000`. Rename it and then convert the font. ``` ftcli ttf rename-glyph -old glyph00000 -new .notdef FluentSystemIcons-Regular.ttf...