-
Notifications
You must be signed in to change notification settings - Fork 797
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: locally host webfonts for is-icon-ligature test (#3105)
* tests: locally host webfonts for is-icon-ligature test * license
- Loading branch information
Showing
6 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Webfont Attribution and Licenses | ||
|
||
## FiraCode-Regular: | ||
|
||
https://github.com/tonsky/FiraCode | ||
License: SIL Open Font License 1.1 | ||
|
||
## Ligature Symbols | ||
|
||
https://github.com/kudakurage/LigatureSymbols | ||
License: SIL Open Font License 1.1 | ||
|
||
## Material Icons | ||
|
||
https://google.github.io/material-design-icons | ||
License: Apache License Version 2.0 | ||
|
||
## Roboto | ||
|
||
https://fonts.google.com/specimen/Roboto | ||
License: Apache License, Version 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,20 +12,17 @@ describe('text.isIconLigature', function() { | |
|
||
var firaFont = new FontFace( | ||
'Fira Code', | ||
'url(https://cdn.jsdelivr.net/gh/tonsky/[email protected]/distr/woff/FiraCode-Regular.woff)' | ||
'url(/test/assets/FiraCode-Regular.woff)' | ||
); | ||
var ligatureFont = new FontFace( | ||
'LigatureSymbols', | ||
'url(https://cdn.jsdelivr.net/gh/kudakurage/LigatureSymbols/LigatureSymbols-2.11.woff)' | ||
'url(/test/assets/LigatureSymbols.woff)' | ||
); | ||
var materialFont = new FontFace( | ||
'Material Icons', | ||
'url(https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2)' | ||
); | ||
var robotoFont = new FontFace( | ||
'Roboto', | ||
'url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2)' | ||
'url(/test/assets/MaterialIcons.woff2)' | ||
); | ||
var robotoFont = new FontFace('Roboto', 'url(/test/assets/Roboto.woff2)'); | ||
|
||
window.Promise.all([ | ||
firaFont.load(), | ||
|