Skip to content

Commit 020931f

Browse files
committed
Define more file extensions
1 parent 11c5cb0 commit 020931f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
#- windows-latest
1919
raku-version:
2020
- 'latest'
21-
- '2022.07'
21+
- '2024.05'
2222
runs-on: ${{ matrix.os }}
2323
steps:
2424
- uses: actions/checkout@v2

lib/CSS/Font/Resources/Source.rakumod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ unit class CSS::Font::Resources::Source;
33

44
use CSS::Font::Descriptor;
55

6-
my constant %Extensions = %( :woff<woff>, :woff2<woff2>, 'ttf'|'ttc' => 'truetype', :otf<opentype>, :eot<embedded-opentype>, 'svg'|'svg2' => 'svg', 'pfa'|'pfb' => 'postscript', 'cff' => 'cff');
6+
my constant %Extensions = %( :woff<woff>, :woff2<woff2>, 'ttf'|'ttc' => 'truetype', 'otf'|'otc' => 'opentype', :eot<embedded-opentype>, 'svg'|'svg2' => 'svg', 'pfa'|'pfb' => 'postscript', 'cff' => 'cff');
77
subset FontFormat is export(:FontFormat) of Str where 'woff'|'woff2'|'truetype'|'opentype'|'embedded-opentype'|'postscript'|'svg'|'cff'|Str:U;
88
subset WebFontFormat of FontFormat where 'woff'|'woff2'|'truetype'|'opentype'|'embedded-opentype'|'svg'|Str:U;
99

0 commit comments

Comments
 (0)