opentype-feature-freezer: name 'fontTools' is not defined
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 26.2k
- Forks
- 20.1k
- PR merge metrics
- PR metrics pending
Description
Nixpkgs version
nixos-unstable
Describe the bug
Trying to use the cli tool, doesn't work, gives that error
Steps to reproduce
- Install (in config or nix shell) the package
- Try to use the program, even using
pyftfeatfreeze -f 'ss03,ss04,ss05,cv02,cv06,cv10' -S -U retblast -R 'CommitMonoV143/CommitMono' CommitMono-400-Regular.ttf test.ttfdoesn't work
Expected behaviour
The program just works. I thought maybe it broke, I asked a friend to test it on their macbook, worked fine.
Screenshots
No response
Relevant log output
WARNING: [_openFontTTX] TTX cannot open CommitMono-400-Regular.ttf: name 'fontTools' is not defined
ERROR: Failed to open font. Aborting.
WARNING: Errors during processing.
Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.17.7-zen1, NixOS, 25.11 (Xantusia), 25.11.20251111.9da7f1c - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.31.2 - nixpkgs:
/nix/store/cjjpqrp9xy44j5fjh3mygyxy3i7mslj2-source
Notify maintainers
@jopejoe1
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the provided pyftfeatfreeze command and inspect the package's CLI entry point and nixpkgs definition. Trace why fontTools is unavailable during font loading. Done means the command opens the font and produces test.ttf without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100