Skip to content

Commit

Permalink
add comments about fonts used for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gfngfn committed Sep 29, 2023
1 parent dff1cbf commit 3ccec84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,5 @@ Some unit tests use data extracted from the following fonts:
- See the license [here](https://www.latex-project.org/lppl/)
* [Junicode](https://junicode.sourceforge.io/)
- See the license [here](https://github.com/psb1558/Junicode-font/blob/master/OFL.txt)
* [DejaVu Sans](https://dejavu-fonts.github.io/): `DejaVuSans-ExtraLight.ttf`
- See the license [here](https://dejavu-fonts.github.io/License.html)
9 changes: 6 additions & 3 deletions test/testCaseKern1.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ let marshaled =
(* First subtable's header: *)
0x0000; 0x0086; 0x0001; 0x0014; 0x0040; 0x0004;
0x0018;
(* First subtable's contents: *)
(* First subtable's contents;
`DejaVuSans-ExtraLight.ttf` (ottset: 93214, length: 120): *)
0x0010; 0x0024; 0xffd3; 0x0010; 0x0025; 0xffb7; 0x0010;
0x002a; 0x004b; 0x0010; 0x002d; 0x0072; 0x0010; 0x0032; 0x0039;
0x0010; 0x0034; 0x004b; 0x0010; 0x0037; 0xff44; 0x0010; 0x0039;
Expand All @@ -22,7 +23,8 @@ let marshaled =
(* Second subtable's header: *)
0x0000; 0x0086; 0x0001;
0x0014; 0x0040; 0x0004; 0x0018;
(* Second subtable's contents: *)
(* Second subtable's contents;
`DejaVuSans-ExtraLight.ttf` (offset: 157164, length: 120): *)
0x0141; 0x0011; 0xff6b; 0x0141;
0x001d; 0xffb7; 0x0141; 0x0057; 0xffdc; 0x0141; 0x005a; 0xffdc;
0x0141; 0x005c; 0xffdc; 0x0141; 0x006d; 0xffb7; 0x0141; 0x007d;
Expand All @@ -33,7 +35,8 @@ let marshaled =
0x01d6; 0xffdc; 0x0141; 0x03e5; 0xffdc; 0x0141; 0x03e7; 0xffdc;
(* Third subtable's header: *)
0x0000; 0x0086; 0x0001; 0x0014; 0x0040; 0x0004; 0x0018;
(* Third subtable's contents: *)
(* Third subtable's contents;
`DejaVuSans-ExtraLight.ttf` (offset: 220736, length: 120): *)
0x03d9;
0x0010; 0xff7d; 0x03d9; 0x0011; 0xff44; 0x03d9; 0x001d; 0xffdc;
0x03d9; 0x0046; 0xffd3; 0x03d9; 0x0047; 0xffdc; 0x03d9; 0x0048;
Expand Down

0 comments on commit 3ccec84

Please sign in to comment.