Skip to content

Commit 99be86f

Browse files
committed
Mention Swash in readme
1 parent ef248d8 commit 99be86f

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $ for engine in CoreText FreeStack TehreerStack fontkit OpenType.js Allsorts ; d
1414

1515
## Supported Platforms
1616

17-
Currently, the test suite supports six OpenType implementations:
17+
Currently, the test suite supports seven OpenType implementations:
1818

1919
* With `--engine=FreeStack`, the tests are run on the free/libre
2020
open-source text rendering stack with [FreeType](https://www.freetype.org/),
@@ -45,12 +45,21 @@ text rendering stack consisting of [FreeType](https://www.freetype.org/),
4545
a parsing and shaping engine implemented in [Rust](https://www.rust-lang.org/).
4646
[Test report for Allsorts](https://rawgit.com/unicode-org/text-rendering-tests/master/reports/Allsorts.html).
4747

48-
It’s trivial to test other implementations; simply write a small
49-
wrapper tool. For the [Go font
48+
* With `--engine=Swash`, the tests are run using [Swash](https://github.com/dfrg/swash),
49+
a parsing, shaping, and scaling/rendering engine also implemented in [Rust](https://www.rust-lang.org/).
50+
[Test report for Swash](https://rawgit.com/unicode-org/text-rendering-tests/master/reports/Swash.html).
51+
52+
It’s trivial to test other implementations; simply write a small wrapper
53+
tool:
54+
55+
- For the [Go font
5056
library](https://godoc.org/golang.org/x/image/font/sfnt), see
51-
[here](https://github.com/golang/go/issues/20208). For the [Rust font
52-
library](https://github.com/google/font-rs), see
53-
[here](https://github.com/google/font-rs/issues/17).
57+
[here](https://github.com/golang/go/issues/20208).
58+
59+
- For the [Rust font library](https://github.com/google/font-rs), see
60+
[here](https://github.com/google/font-rs/issues/17). You may be able to
61+
reuse (or factor out) the argument parsing and SVG-writing parts of the
62+
[Swash test harness](./src/fonttest-swash-harness/) as a starting point.
5463

5564

5665
## Test Cases

0 commit comments

Comments
 (0)