font fix face

This commit is contained in:
venbainfotech 2022-05-11 16:16:06 +05:30
parent 63209499ac
commit 852fc83db2

View File

@ -360,7 +360,7 @@ drawRectangle(file)
// context.save();
/// text color
// get width of text
context.font = "bold 75px Times New Roman";
context.font = "75px Times New Roman"
var width = context.measureText(this.similarity+'%').width;
var height = context.measureText(this.similarity+'%').height;
context.fillStyle = 'rgb(255 255 255 / 70%)';