From e35cfb4bdeed7eefc5d7e36ba2adfba52577ba20 Mon Sep 17 00:00:00 2001 From: David Corbett Date: Fri, 24 Jun 2022 20:18:10 -0400 Subject: [PATCH] Document the subsetter argument of record-test.sh --- test/shape/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shape/README.md b/test/shape/README.md index f386fb965..094bb8bce 100644 --- a/test/shape/README.md +++ b/test/shape/README.md @@ -14,7 +14,7 @@ FontTools from . To use `record-test.sh`, just put it right before the `hb-shape` invocation: ```sh -$ ./hb-unicode-encode 41 42 43 627 | ./record-test.sh ../../util/hb-shape font.ttf +$ ./hb-unicode-encode 41 42 43 627 | ./record-test.sh ../../util/hb-subset ../../util/hb-shape font.ttf ``` what this does is: * Subset the font for the sequence of Unicode characters requested, @@ -28,7 +28,7 @@ what this does is: to an existing or new test file in `data/in-house/tests` using `-o`, e.g.: ```sh -$ ./hb-unicode-encode 41 42 43 627 | ./record-test.sh -o data/in-house/tests/test-name.test ../../util/hb-shape font.ttf +$ ./hb-unicode-encode 41 42 43 627 | ./record-test.sh -o data/in-house/tests/test-name.test ../../util/hb-subset ../../util/hb-shape font.ttf ``` If you created a new test file, add it to `data/in-house/Makefile.sources`