Use woff2 instead ttf (#1307)

* Use woff2 instead ttf

* Update font in svg-exported files to use woff2

Co-authored-by: Timur Khazamov <t1mmaas@skbkontur.ru>
This commit is contained in:
Timur Khazamov 2020-04-08 00:28:44 +02:00 committed by GitHub
parent c3b83fba38
commit ed378170b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 8 deletions

View file

@ -94,11 +94,11 @@ export function exportToSvg(
<style>
@font-face {
font-family: "Virgil";
src: url("https://excalidraw.com/FG_Virgil.ttf");
src: url("https://excalidraw.com/FG_Virgil.woff2");
}
@font-face {
font-family: "Cascadia";
src: url("https://excalidraw.com/Cascadia.ttf");
src: url("https://excalidraw.com/Cascadia.woff2");
}
</style>
</defs>