With cooperation from Athos Ribiero, Parag Nemade, and Benson Muite, I’ve completed all of the necessary dependency work and posted fontmake for review at https://bugzilla.redhat.com/show_bug.cgi?id=2331684. Thanks!
I’m targeting Rawhide only for now, since I’m reluctant to upgrade python-glyphsLib from 5.x to 6.x in stable releases, but that should be a compatible upgrade in practice, so it’s probably feasible to bring fontmake to F41 and F40 if someone really needs it.
I also opened a PR for cascadia-code-fonts, https://src.fedoraproject.org/rpms/cascadia-code-fonts/pull-request/3. Unfortunately, I wasn’t able to go as far as actually building the font from sources with fontmake, but the PR does at least take a few steps in that direction.
On 12/8/24 8:53 AM, Athos Ribeiro wrote:
On Sun, Dec 08, 2024 at 07:30:08AM -0500, Ben Beasley wrote:
I had the idea of packaging fontmake on my back burner long ago, although I had abandoned the project. I just pulled together a draft spec file, https://music.fedorapeople.org/fontmake.spec. The current version of fontmake looks reasonably straightforward to package, with the following caveats:
- no pathops extra; this would require a python-skia-pathops package, which is nontrivial due to the involvement of Skia
- no autohint extra for now; this would require a python-ttfautohint-py package, which is probably feasible
- no repacker extra for now; this would require a python-uharfbuzz package, and then enabling the repacker extra in the fonttools package, which is probably feasible
The json extra can be packaged, at least in Rawhide, now that https://src.fedoraproject.org/rpms/python-ufoLib2/pull-request/3 is merged – thanks!
Finally, python-glyphsLib needs to be updated to version 6.x first. It’s pretty far behind right now. I opened a PR, https://src.fedoraproject.org/rpms/python-glyphsLib/pull-request/1, to get to version 5.3.2 and generally bring it into the modern era, then another, https://src.fedoraproject.org/rpms/python-glyphsLib/pull-request/2, to update to the latest version. That will require a new dependency, openstep-plist, which I submitted for review in https://bugzilla.redhat.com/show_bug.cgi?id=2330988.
Once all of that happens, I can submit fontmake for review.
– Ben Beasley (FAS: music)
Thanks, Ben!
+1
I added you as an admin in python-glyphsLib.
python-devel@lists.fedoraproject.org