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
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,