diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-20 18:14:13 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-20 18:14:13 +0100 |
| commit | 321121c6c3726a7b5604bb52ef7d55dd362d9a02 (patch) | |
| tree | c769aafdb3eee3b046efc263b759a30ee65c88f9 /tests | |
| parent | 8eeb4ad8f6df3bedebdb86f95e013a9ea71fb687 (diff) | |
Move font folder
Diffstat (limited to 'tests')
23 files changed, 4 insertions, 3 deletions
diff --git a/tests/README.md b/tests/README.md index baca9148..7ad0535c 100644 --- a/tests/README.md +++ b/tests/README.md @@ -4,11 +4,12 @@ Top level directory structure: - `src`: Testing code. - `typ`: Input files. -- `res`: Resource files used by tests. - `ref`: Reference images which the output is compared with to determine whether a test passed or failed. - `png`: PNG files produced by tests. - `pdf`: PDF files produced by tests. +- `res`: Resource files used by tests. +- `fonts`: Font files used for tests. ## Running the tests Running all tests (including unit tests): diff --git a/tests/fonts/IBMPlexMono-Bold.ttf b/tests/fonts/IBMPlexMono-Bold.ttf Binary files differnew file mode 100644 index 00000000..2ad2fa1d --- /dev/null +++ b/tests/fonts/IBMPlexMono-Bold.ttf diff --git a/tests/fonts/IBMPlexMono-Regular.ttf b/tests/fonts/IBMPlexMono-Regular.ttf Binary files differnew file mode 100644 index 00000000..ef3bc4b3 --- /dev/null +++ b/tests/fonts/IBMPlexMono-Regular.ttf diff --git a/tests/fonts/IBMPlexSans-Bold.ttf b/tests/fonts/IBMPlexSans-Bold.ttf Binary files differnew file mode 100644 index 00000000..0e9eb07b --- /dev/null +++ b/tests/fonts/IBMPlexSans-Bold.ttf diff --git a/tests/fonts/IBMPlexSans-BoldItalic.ttf b/tests/fonts/IBMPlexSans-BoldItalic.ttf Binary files differnew file mode 100644 index 00000000..07f8bc87 --- /dev/null +++ b/tests/fonts/IBMPlexSans-BoldItalic.ttf diff --git a/tests/fonts/IBMPlexSans-Italic.ttf b/tests/fonts/IBMPlexSans-Italic.ttf Binary files differnew file mode 100644 index 00000000..9ef096fe --- /dev/null +++ b/tests/fonts/IBMPlexSans-Italic.ttf diff --git a/tests/fonts/IBMPlexSans-Regular.ttf b/tests/fonts/IBMPlexSans-Regular.ttf Binary files differnew file mode 100644 index 00000000..f1c3da2f --- /dev/null +++ b/tests/fonts/IBMPlexSans-Regular.ttf diff --git a/tests/fonts/IBMPlexSansDevanagari-Regular.ttf b/tests/fonts/IBMPlexSansDevanagari-Regular.ttf Binary files differnew file mode 100644 index 00000000..5d7c8f0f --- /dev/null +++ b/tests/fonts/IBMPlexSansDevanagari-Regular.ttf diff --git a/tests/fonts/IBMPlexSerif-Regular.ttf b/tests/fonts/IBMPlexSerif-Regular.ttf Binary files differnew file mode 100644 index 00000000..7d6dc5c1 --- /dev/null +++ b/tests/fonts/IBMPlexSerif-Regular.ttf diff --git a/tests/fonts/LatinModernRoman-Bold.otf b/tests/fonts/LatinModernRoman-Bold.otf Binary files differnew file mode 100644 index 00000000..7d6afa73 --- /dev/null +++ b/tests/fonts/LatinModernRoman-Bold.otf diff --git a/tests/fonts/LatinModernRoman-Regular.otf b/tests/fonts/LatinModernRoman-Regular.otf Binary files differnew file mode 100644 index 00000000..6a96b468 --- /dev/null +++ b/tests/fonts/LatinModernRoman-Regular.otf diff --git a/tests/fonts/NewCMMath-Regular.otf b/tests/fonts/NewCMMath-Regular.otf Binary files differnew file mode 100644 index 00000000..82221fb8 --- /dev/null +++ b/tests/fonts/NewCMMath-Regular.otf diff --git a/tests/fonts/NotoColorEmoji.ttf b/tests/fonts/NotoColorEmoji.ttf Binary files differnew file mode 100644 index 00000000..2c1f1043 --- /dev/null +++ b/tests/fonts/NotoColorEmoji.ttf diff --git a/tests/fonts/NotoSansArabic-Regular.ttf b/tests/fonts/NotoSansArabic-Regular.ttf Binary files differnew file mode 100644 index 00000000..94eead4c --- /dev/null +++ b/tests/fonts/NotoSansArabic-Regular.ttf diff --git a/tests/fonts/NotoSerifCJKsc-Regular.otf b/tests/fonts/NotoSerifCJKsc-Regular.otf Binary files differnew file mode 100644 index 00000000..4c5f715b --- /dev/null +++ b/tests/fonts/NotoSerifCJKsc-Regular.otf diff --git a/tests/fonts/NotoSerifHebrew-Bold.ttf b/tests/fonts/NotoSerifHebrew-Bold.ttf Binary files differnew file mode 100644 index 00000000..e7cbd93a --- /dev/null +++ b/tests/fonts/NotoSerifHebrew-Bold.ttf diff --git a/tests/fonts/NotoSerifHebrew-Regular.ttf b/tests/fonts/NotoSerifHebrew-Regular.ttf Binary files differnew file mode 100644 index 00000000..27893f10 --- /dev/null +++ b/tests/fonts/NotoSerifHebrew-Regular.ttf diff --git a/tests/fonts/PTSans-Regular.ttf b/tests/fonts/PTSans-Regular.ttf Binary files differnew file mode 100644 index 00000000..5222968f --- /dev/null +++ b/tests/fonts/PTSans-Regular.ttf diff --git a/tests/fonts/Roboto-Regular.ttf b/tests/fonts/Roboto-Regular.ttf Binary files differnew file mode 100644 index 00000000..500b1045 --- /dev/null +++ b/tests/fonts/Roboto-Regular.ttf diff --git a/tests/fonts/TwitterColorEmoji.ttf b/tests/fonts/TwitterColorEmoji.ttf Binary files differnew file mode 100644 index 00000000..a8f829ac --- /dev/null +++ b/tests/fonts/TwitterColorEmoji.ttf diff --git a/tests/fonts/Ubuntu-Regular.ttf b/tests/fonts/Ubuntu-Regular.ttf Binary files differnew file mode 100644 index 00000000..f98a2dab --- /dev/null +++ b/tests/fonts/Ubuntu-Regular.ttf diff --git a/tests/src/benches.rs b/tests/src/benches.rs index 844f3bf0..5c9b5433 100644 --- a/tests/src/benches.rs +++ b/tests/src/benches.rs @@ -10,7 +10,7 @@ use typst::{Config, World}; use unscanny::Scanner; const TEXT: &str = include_str!("../typ/benches/bench.typ"); -const FONT: &[u8] = include_bytes!("../../fonts/IBMPlexSans-Regular.ttf"); +const FONT: &[u8] = include_bytes!("../fonts/IBMPlexSans-Regular.ttf"); main!( bench_decode, diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 237eaf22..cdd82117 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -28,7 +28,7 @@ const TYP_DIR: &str = "typ"; const REF_DIR: &str = "ref"; const PNG_DIR: &str = "png"; const PDF_DIR: &str = "pdf"; -const FONT_DIR: &str = "../fonts"; +const FONT_DIR: &str = "fonts"; fn main() { let args = Args::new(env::args().skip(1)); |
