feature request: add `fonttools diff` to compare fonts with ttx
See original GitHub issueI often find myself using ttx in combination with some diffing tool, so much that I wrote a ttdiff
shell function that takes two fonts (and optionally a list of table tags), and redirect the output of ttx to diff
(pipes it to colordiff
to get nice colors and less
for pagination):
https://gist.github.com/anthrotype/6c3dce176314ec6ffb116b0f8561bee0
I guess many of us have their own variant of this. So I wonder, should we add a new sub-command, fonttools diff
that uses python to do the same, so it works everywhere fonttools work and not just in a unix shell?
I think this is a nice first-time-contributor kind of PR. Any takers?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:22 (16 by maintainers)
Top Results From Across the Web
fonttools - PyPI
fontTools is a library for manipulating fonts, written in Python. The project includes the TTX tool, that can convert TrueType and OpenType fonts...
Read more >refs/tags/3.1.2 - third_party/fonttools - Git at Google
fontTools is a library for manipulating fonts, written in Python. The project includes the TTX tool, that can convert TrueType and OpenType fonts...
Read more >Introduction | gf-docs - Google Fonts documentation
To compare two fonts using fonttools ttx and meld : ... If you run into a bug, question, or have a feature request...
Read more >Variable fonts and OpenType features (a theoretical & a ...
If ttx, how do I safely add the feature to the decompiled file? Tagged: ... But once different masters require different kerning values, ......
Read more >fonttools [python-library] - Occam :: Details
fontTools is a library for manipulating fonts, written in Python. The project includes the TTX ... [feaLib] Added support for Variable Feature File...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the meantime https://pypi.org/project/fdiff/ was made by @chrissimpkins, it’s awesome!
I’ll leave it to Cosimo, others, to figure out.