Update main.js

This commit is contained in:
Kyle
2020-08-24 20:46:17 -07:00
parent f2e410c8c7
commit 9c17d355cd

View File

@@ -553,7 +553,7 @@ function writeText(textObjectList, targetContext) {
}
} else if (possibleCodeLower == '/i') {
if (textFont == 'mplantin') {
textFontExtension.replace('i', '')
textFontExtension = textFontExtension.replace('i', '')
textLineContext.font = fontStyle + textSize + 'px ' + textFont + textFontExtension
} else {
fontStyle = fontStyle.replace('italic ', '')