Hello,
I have two points. I modified the codes to support latest libraries of pdfjs and fabric
Fabric gives error : Error loading data:, fabric.min.js:1:871 and it doesn't show pdf. Do you have plan to use latest versions of js libraries?
Second point is that : the pdf on the screen is not sharp and blur. How does resolution of pdf can be improved.
var pdfjsLib = window['pdfjs-dist/build/pdf'];
// The workerSrc property shall be specified.
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.min.js';
https://cdnjs.cloudflare.com/ajax/libs/fabric.js/4.3.0/fabric.min.js
https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.min.js
Thanks
Turgut
Hello,
I have two points. I modified the codes to support latest libraries of pdfjs and fabric
Fabric gives error : Error loading data:, fabric.min.js:1:871 and it doesn't show pdf. Do you have plan to use latest versions of js libraries?
Second point is that : the pdf on the screen is not sharp and blur. How does resolution of pdf can be improved.
var pdfjsLib = window['pdfjs-dist/build/pdf'];
// The workerSrc property shall be specified.
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.min.js';
https://cdnjs.cloudflare.com/ajax/libs/fabric.js/4.3.0/fabric.min.js
https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.min.js
Thanks
Turgut