Fix final form check

This commit is contained in:
Josh birnholz
2023-02-21 01:56:34 -05:00
parent c325e2c5a6
commit bbf5fe634a

View File

@@ -2666,7 +2666,7 @@ function writeText(textObject, targetContext) {
}
}
if (lineContext.font.endsWith('belerenb')) {
if (wordToWrite && lineContext.font.endsWith('belerenb')) {
wordToWrite = wordToWrite.replace(/f(?:\s|$)/g, '\ue006').replace(/h(?:\s|$)/g, '\ue007').replace(/m(?:\s|$)/g, '\ue008').replace(/n(?:\s|$)/g, '\ue009').replace(/k(?:\s|$)/g, '\ue00a');
}