This commit is contained in:
Kyle
2018-12-09 11:38:00 -08:00
parent 4efa8bf9cb
commit 0584bca975
15 changed files with 95 additions and 2 deletions

View File

@@ -656,7 +656,7 @@ function drawText(text, xCoord, yCoord) {
//series of if statements to determine an action based off of the given code
if (megaSplit[0] == "i") {
canvas.style.letterSpacing = textFontSpacing * 1/3 + "px"
card.font = textSize + textFont + "i"
card.font = textSize * italicSize + textFont + "i"
} else if (megaSplit[0] == "/i") {
canvas.style.letterSpacing = textFontSpacing + "px"
card.font = textSize + textFont