{"id":16048967,"url":"https://github.com/devongovett/fonttest","last_synced_at":"2026-01-18T01:36:06.432Z","repository":{"id":66053670,"uuid":"67308203","full_name":"devongovett/fonttest","owner":"devongovett","description":"OpenType test suite","archived":false,"fork":false,"pushed_at":"2017-05-02T06:04:20.000Z","size":3747,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-10T14:53:32.167Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devongovett.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":"2016-09-03T19:36:07.000Z","updated_at":"2016-09-26T13:09:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"14997d68-d223-4e8e-9ee2-e63a3a59123c","html_url":"https://github.com/devongovett/fonttest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Ffonttest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Ffonttest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Ffonttest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Ffonttest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devongovett","download_url":"https://codeload.github.com/devongovett/fonttest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299850,"owners_count":20916193,"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-10-09T00:11:54.353Z","updated_at":"2026-01-18T01:36:06.184Z","avatar_url":"https://github.com/devongovett.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FontTest\n\nThis is a very early draft for what might become some day an OpenType\ntest suite. The purpose of this test suite is to make sure that all\nOpenType implementations render fonts in a reasonably similar\nway. Currently, the test suite is very much in its infancy, so please\ndon’t be disappointed if you don’t find much. Of course you are more\nthan welcome to help; just send a pull request.\n\n```bash\n$ git clone --recursive https://github.com/brawer/fonttest.git \u0026\u0026 cd fonttest\n$ python check.py --output=report.html --engine=FreeStack\n```\n\n\n## Supported Platforms\n\nCurrently, the test suite supports only two OpenType implementations:\n\n* With `--engine=FreeStack`, the tests are run on the free/libre\nopen-source text rendering stack with [FreeType](https://www.freetype.org/),\n[HarfBuzz](https://www.freedesktop.org/wiki/Software/HarfBuzz/),\nand [Raqm](https://github.com/HOST-Oman/libraqm). These libraries\nare used by Linux, Android, ChromeOS, and many other systems.\n\n* With `--engine=CoreText`, the tests are run on Apple’s CoreText.\nThis option will work only if you run the test suite on MacOS X.\n\nIf you’d like to test another OpenType implementation, please go ahead.\n\n\n## Generated Reports\n\nWhen you pass `--output=report.html`, the test suite will generate a\n[test\nreport](https://raw.githack.com/brawer/fonttest/master/reports/fake-fail.html)\nthat explains what was tested, which tests have passed, and which ones\nhave failed.\n\n\n## Test Cases\n\nThe test cases are defined in the [testcases](testcases/) directory.\nIt contains HTML snippets which describe each test, and define the\nrendering parameters together with the expected result.\n\nFor each test case, the `check.py` script parses the HTML snippet to\nextract the rendering parameters. Then, it runs a sub-process (written\nin C++ and Objective C) that writes the observed rendering in SVG\nformat to Standard Output. Finally, the script checks whether the\nexpected rendering matches the observed result.  Currently, “matching”\nis implemented as exact string equality on the SVG file; if needed,\nthis could of course be made resilient to small rounding differences.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Ffonttest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevongovett%2Ffonttest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Ffonttest/lists"}