Open mountainsofredleaves opened 5 years ago
"vue": "^2.5.2", "vue-pdf": "^4.0.7",
how to use cmaps in vue-pdf ,do u have an example plz?
showPdf - 副本 (2).txt @adndyxu plz change txt to vue
showPdf - 副本 (2).txt @adndyxu plz change txt to vue
This works in vue-pdf can be like that ` import CMapReaderFactory from 'vue-pdf/src/CMapReaderFactory.js'
import pdf from 'vue-pdf'
// in render
pdf.createLoadingTask({ url: pdfUrl, CMapReaderFactory }) `
Thank you for your reply. Can you modify a sample for me in this file? The backend is passed to the front end is the Base64 data, not the url. In addition, the currently displayed PDF does not display the electronic signature (digital signature). The following solution has been found on the Internet. You need to modify the code of the underlying pdf.worker.js, and annotate the code of the attachment util.annotationflag.hidden
This screenshot file is the effect of opening the software. The following screenshot is the effect of opening Vue PDF in the browser
google chrome console: Warning: Error during font loading: Font SimSun is not available I want to know how to generate SimSun.bcmap file through Windows`s .ttf or .ttc font file;