{"id":20828083,"url":"https://github.com/googlefonts/diffenator3","last_synced_at":"2025-05-07T21:06:52.304Z","repository":{"id":205938669,"uuid":"712343098","full_name":"googlefonts/diffenator3","owner":"googlefonts","description":"Diffenator2, but Rustier","archived":false,"fork":false,"pushed_at":"2025-04-04T10:41:01.000Z","size":59038,"stargazers_count":15,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-07T21:06:46.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlefonts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-31T09:30:22.000Z","updated_at":"2025-05-04T02:16:02.000Z","dependencies_parsed_at":"2024-08-19T09:02:05.468Z","dependency_job_id":"3110db6f-6ef1-4701-bab9-3af11220df5c","html_url":"https://github.com/googlefonts/diffenator3","commit_stats":null,"previous_names":["simoncozens/diffenator3","googlefonts/diffenator3"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlefonts%2Fdiffenator3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlefonts%2Fdiffenator3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlefonts%2Fdiffenator3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlefonts%2Fdiffenator3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlefonts","download_url":"https://codeload.github.com/googlefonts/diffenator3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954428,"owners_count":21830904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T23:13:49.811Z","updated_at":"2025-05-07T21:06:52.278Z","avatar_url":"https://github.com/googlefonts.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diffenator3\n\nThis is a Rust port of\n[diffenator2](https://github.com/googlefonts/diffenator2), a utility for\ncomparing two font files. It comes in two flavours, command line and\nWASM.\n\nThe _command line_ version compares two fonts and describes the differences\nbetween them; it produces reports in text, JSON and HTML format. By default,\nit compares variable fonts at their named instances, although you can also\nask for comparisons at specific points in the design space, at the\nmin/max/default for each axis or subdivisions in between, or at master\nlocations. See the `--help` documentation of `diffenator3` for more details.\n\nYou can customize the look and feel of the HTML report by editing the templates\nin the `~/.diffenator3/templates` directory after running `diffenator3 --html`\nfor the first time. Additionally, you can supply a `--templates` directory for\nper-project templates.\n\nThe _WASM_ version compares two font files over the web and displays a HTML\nreport of the differences. This runs the `diffenator3` code directly inside\nyour web browser - the fonts are *not* transferred across the Internet.\nYou can use the WASM version at\nhttps://googlefonts.github.io/diffenator3\n\n## diff3proof\n\nAs well as `diffenator3`, there is another utility called `diff3proof` used\nto generate HTML proof files showing the difference between the fonts. This\ncan be used in two modes: `--sample-mode context` (the default), which\nshows paragraphs of sample text for each language supported by the font, and\n`--sample-mode cover`, which shows a minimal text to cover all the shared\ncodepoints in the font. These can be helpful for manually checking rendering\ndifferences in different browsers.\n\n## Additional utilities\n\nIf you build `diffenator3` from source, there are three additional workspace\ncrates which build some utilities which are mainly helpful for working on\n`diffenator3` itself:\n\n- [`ttj`](ttj/) serializes a TTF file to JSON in much the same way that `ttx`\n  serializes to XML. However, there is no deserialization back to TTF at\n  present.\n- [`kerndiffer`](kerndiffer/) is a limited version of `diffenator3` just for\n  checking kerning differences. You can achieve much the same functionality\n  with `diffenator3 --no-tables --no-words --no-glyphs`.\n- [`rendertest`](rendertest/) is used to test the rendering and bitmap comparison\n  functionality of `diffenator3`. It generates bitmap images of words in both\n  fonts and then overlays them.\n\n## Installing\n\nBinary versions can be obtained from the latest GitHub release; development\nversions can be obtained via the latest GitHub Action. The `diffenator3` and\n`diff3proof` binaries are all you need - they contain all the templates and\nwordlists within them - so you can copy them to anywhere in your path.\n\nAlternatively you can install from source with\n`cargo install --git https://github.com/googlefonts/diffenator3`.\n\n## License\n\nThis software is licensed under the [Apache 2.0 License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglefonts%2Fdiffenator3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglefonts%2Fdiffenator3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglefonts%2Fdiffenator3/lists"}