bring back woff for safari on osx el capitan (fixes #6252)

pull/6254/head
Niklas Fiekas 2020-03-30 12:58:50 +02:00
parent 791884a695
commit 2a84be0255
5 changed files with 6 additions and 6 deletions

View File

@ -35,8 +35,8 @@ Exceptions (free)
Files | Author(s) | License
--- | --- | ---
public/font/lichess.{sfd,woff2} | [Dave Gandy](http://fontawesome.io/), [GitHub](https://github.com/primer/octicons), [Webalys](http://www.webalys.com/), [Zurb](http://zurb.com/playground/foundation-icon-fonts-3), [Daniel Bruce](http://www.entypo.com/), [Shapemade](http://steadysets.com/), [Sergey Shmidt](http://designmodo.com/linecons-free/) and the lichess authors | [OFL](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL), [MIT](https://github.com/primer/octicons/blob/master/LICENSE), [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/), AGPLv3+
public/font/lichess.chess.{sfd,woff2} | the [pgn4web](http://pgn4web.casaschi.net/home.html) authors | [GPLv2+](https://www.gnu.org/licenses/gpl-2.0.txt)
public/font/lichess.{sfd,woff,woff2} | [Dave Gandy](http://fontawesome.io/), [GitHub](https://github.com/primer/octicons), [Webalys](http://www.webalys.com/), [Zurb](http://zurb.com/playground/foundation-icon-fonts-3), [Daniel Bruce](http://www.entypo.com/), [Shapemade](http://steadysets.com/), [Sergey Shmidt](http://designmodo.com/linecons-free/) and the lichess authors | [OFL](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL), [MIT](https://github.com/primer/octicons/blob/master/LICENSE), [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/), AGPLv3+
public/font/lichess.chess.{sfd,woff,woff2} | the [pgn4web](http://pgn4web.casaschi.net/home.html) authors | [GPLv2+](https://www.gnu.org/licenses/gpl-2.0.txt)
Noto Sans in public/font | [Google](https://fonts.google.com/specimen/Noto+Sans) | [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
Roboto in public/font | [Christian Robertson](https://fonts.google.com/specimen/Roboto) | [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
public/images/staunton | [James Clarke](https://github.com/clarkerubber/Staunton-Pieces) | [MIT](https://github.com/clarkerubber/Staunton-Pieces/blob/master/LICENSE)

View File

@ -3,8 +3,8 @@ To edit the icon font https://lichess1.org/assets/oops/font.html
find SVG icon somewhere
`fontforge lila/public/font/lichess.sfd`
click first empty icon
file > import
file > import
right click > glyph info
set unicode
generate woff2 font
generate font woff+woff2
save sfd font

Binary file not shown.

Binary file not shown.

View File

@ -3,14 +3,14 @@
}
@font-face {
font-family: "lichess";
src: local-font("lichess.woff2") format("woff2");
src: local-font("lichess.woff2") format("woff2"), local-font("lichess.woff") format("woff");
font-display: block;
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Noto Chess';
src: local-font("lichess.chess.woff2") format("woff2");
src: local-font("lichess.chess.woff2") format("woff2"), local-font("lichess.chess.woff") format("woff");
}
/* cyrillic-ext */
@font-face {