mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
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:
parent
c3b83fba38
commit
ed378170b7
5 changed files with 8 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue