mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
fuck up №2
This commit is contained in:
parent
9197167f41
commit
7a4fe1a80f
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
const moment = require("moment"),
|
const moment = require("moment"),
|
||||||
Canvas = require("@napi-rs/canvas"),
|
{ GlobalFonts } = require("@napi-rs/canvas"),
|
||||||
{ resolve } = require("path");
|
{ resolve } = require("path");
|
||||||
|
|
||||||
Canvas.registerFont(resolve("./assets/fonts/RubikMonoOne-Regular.ttf"), { family: "RubikMonoOne" });
|
GlobalFonts.registerFromPath(resolve("./assets/fonts/RubikMonoOne-Regular.ttf"), "RubikMonoOne");
|
||||||
Canvas.registerFont(resolve("./assets/fonts/KeepCalm-Medium.ttf"), { family: "KeepCalm" });
|
GlobalFonts.registerFromPath(resolve("./assets/fonts/KeepCalm-Medium.ttf"), "KeepCalm");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue