MrDocious
New Coder
i put "registerFont(__dirname + "/onepiece.TTF", { family: "OnePiece" });"
and that after for the text :
ctx.font = "48px OnePiece";
ctx.fillStyle = "#000";
ctx.textAlign = "center";
ctx.fillText(username.toUpperCase(), 350, 600);
why he did not work? he detecte the font but he dont use, but the text change a little bit in bold
and that after for the text :
ctx.font = "48px OnePiece";
ctx.fillStyle = "#000";
ctx.textAlign = "center";
ctx.fillText(username.toUpperCase(), 350, 600);
why he did not work? he detecte the font but he dont use, but the text change a little bit in bold