diff options
Diffstat (limited to 'testing/web-platform/tests/fonts/noto/cjk/README.md')
-rw-r--r-- | testing/web-platform/tests/fonts/noto/cjk/README.md | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/testing/web-platform/tests/fonts/noto/cjk/README.md b/testing/web-platform/tests/fonts/noto/cjk/README.md index a14fa64b42..c053ea8359 100644 --- a/testing/web-platform/tests/fonts/noto/cjk/README.md +++ b/testing/web-platform/tests/fonts/noto/cjk/README.md @@ -4,26 +4,16 @@ Fonts in this directory help testing the `text-spacing-trim` property. ## NotoSansCJKjp-Regular-subset-halt.otf -This font is generated by the following command: -``` -pyftsubset NotoSansCJKjp-Regular.otf \ - --unicodes=20-7E,2018-201F,56FD,6C34,3000-301F,30FB,FF01-FF1F,FF5B-FF65 \ - --layout-features+=halt,fwid,hwid,palt,pwid,vhal,vpal \ - --output-file=NotoSansCJKjp-Regular-subset-halt.otf -``` -where `pyftsubset` comes from https://github.com/fonttools/fonttools +Please see `subset.sh` to generate. ## NotoSansCJKjp-Regular-subset-chws.otf This font has `chws` and `vchw` in addition to the font above. -This font is generated by the following command: -``` -pyftsubset NotoSansCJKjp-Regular.otf \ - --unicodes=20-7E,2018-201F,56FD,6C34,3000-301F,30FB,FF01-FF1F,FF5B-FF65 \ - --layout-features+=halt,fwid,hwid,palt,pwid,vhal,vpal,chws,vchw \ - --output-file=NotoSansCJKjp-Regular-subset-chws.otf -``` Note there are two variants of Noto CJK; one with `chws` and one without. The input font for this command must be the one with `chws`, processed by the [chws_tool](https://github.com/googlefonts/chws_tool). + +## NotoSansCJKjp-Regular-subset-halt-min.otf + +This font is to test web fonts scenario where not all glyphs are available. |