We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f43a0 commit 69b2c9fCopy full SHA for 69b2c9f
recipes/woff2/recipe.yaml
@@ -45,6 +45,19 @@ tests:
45
- bin/woff2_compress
46
- bin/woff2_decompress
47
- bin/woff2_info
48
+ - script:
49
+ - curl -LO https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxP.ttf
50
+ - curl -LO https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2
51
+ # Convert TTF to WOFF2
52
+ - woff2_compress KFOmCnqEu92Fr1Mu4mxP.ttf
53
+ - woff2_info KFOmCnqEu92Fr1Mu4mxP.woff2 | grep "WOFF2Header"
54
+ # Convert WOFF2 to TTF
55
+ - woff2_decompress KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2
56
+ - file --brief KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.ttf | grep -i "TrueType font data"
57
+ requirements:
58
+ run:
59
+ - file
60
+ - curl
61
62
about:
63
homepage: https://github.com/google/woff2
0 commit comments