|
@@ -47,7 +47,7 @@ let DiffInfoArray = []
|
|
let AnnotArray = []
|
|
let AnnotArray = []
|
|
let fontsJson = null
|
|
let fontsJson = null
|
|
let fontFile = null
|
|
let fontFile = null
|
|
-let webFontURL = './fonts/'
|
|
|
|
|
|
+let webFontURL = 'https://www.compdf.com/fonts/'
|
|
|
|
|
|
import MessageHandler from "../message_handler"
|
|
import MessageHandler from "../message_handler"
|
|
import { convertFileToBuffer, convertBase64ToBytes } from '../fileHandler';
|
|
import { convertFileToBuffer, convertBase64ToBytes } from '../fileHandler';
|
|
@@ -161,7 +161,7 @@ class CPDFWorker {
|
|
if (data.fileList) {
|
|
if (data.fileList) {
|
|
ComPDFKitJS.opened_Font[0] = data.fileList
|
|
ComPDFKitJS.opened_Font[0] = data.fileList
|
|
}
|
|
}
|
|
- if (data.webFontURL !== './lib/fonts/') {
|
|
|
|
|
|
+ if (data.webFontURL !== 'https://www.compdf.com/fonts/') {
|
|
webFontURL = data.webFontURL
|
|
webFontURL = data.webFontURL
|
|
}
|
|
}
|
|
fontsJson = data.fontsJson
|
|
fontsJson = data.fontsJson
|