feat: Use the latest version of Virgil (#3124)

This commit is contained in:
Lipis 2021-02-28 14:22:32 +02:00 committed by GitHub
parent 286642ffcf
commit 053353841a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 9 deletions

View file

@ -54,8 +54,8 @@ const elements = [
},
];
registerFont("./public/FG_Virgil.ttf", { family: "Virgil" });
registerFont("./public/Cascadia.ttf", { family: "Cascadia" });
registerFont("./public/Virgil.woff2", { family: "Virgil" });
registerFont("./public/Cascadia.woff2", { family: "Cascadia" });
const canvas = exportToCanvas(
elements as any,