x/image/font: add a tool for running Unicode’s text rendering tests #20208
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
Would you be interested in testing the Go font library through Unicode text rendering tests?
I’m maintaining this test suite for Unicode, and would volunteer to do the integration with the test framework. But somebody familiar with Go would have to write a command-line tool that can be called like this:
This should write an SVG file to standard output, looking like this:
For test cases on variable fonts, your tool would be called with an additional argument for the variation settings, such as
--variation=wght:481.3;wdth:70
. Initially, you could ignore this.The test fonts are here. If you write a command-line tool that can be called as described, the generated test report will look like this, this, this, or this.
The text was updated successfully, but these errors were encountered: