Expand description
Port of fontTools.diff.diff: the unified diff of the TTX dumps of two
fonts, with the built-in diff (u_diff) or an external diff tool
(run_external_diff).
Structs§
- Diff
Options - The tables to compare, as the command line gives them: tags padded to four
characters, or
GlyphOrder.
Functions§
- run_
external_ diff run_external_diff: the lines (with their ends) of the diff of the TTX dumps of two fonts, saved asleft.ttxandright.ttxin a temporary directory, by the external tooldiff_toolwith the argumentsdiff_args. Fails with what the tool writes to standard error, if anything.- u_diff
u_diff: the lines (with their ends) of the unified diff, withcontext_lineslines of context, of the TTX dumps of two fonts, with Python’sdifflib. The headers name the files with their modification times.