diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/fonts/noto/cjk/README.md | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/fonts/noto/cjk/README.md')
-rw-r--r-- | testing/web-platform/tests/fonts/noto/cjk/README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/fonts/noto/cjk/README.md b/testing/web-platform/tests/fonts/noto/cjk/README.md new file mode 100644 index 0000000000..a14fa64b42 --- /dev/null +++ b/testing/web-platform/tests/fonts/noto/cjk/README.md @@ -0,0 +1,29 @@ +# Fonts + +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 + +## 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). |