mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
Add pixel comparison mode to Compare tool (#6109)
Co-authored-by: Anthony Stirling <[email protected]> Co-authored-by: EthanHealy01 <[email protected]>
This commit is contained in:
co-authored by
Anthony Stirling
EthanHealy01
parent
089e448cf4
commit
66a75b1f28
@@ -57,6 +57,19 @@ export default defineConfig(({ mode }) => {
|
||||
src: "public/vendor/jscanify/*",
|
||||
dest: "vendor/jscanify",
|
||||
},
|
||||
{
|
||||
// pdfjs-dist CMap data for CJK / non-latin glyph mapping — required
|
||||
// when rendering PDFs inside workers where the default DOM fetch paths
|
||||
// aren't available.
|
||||
src: "node_modules/pdfjs-dist/cmaps/*",
|
||||
dest: "pdfjs/cmaps",
|
||||
},
|
||||
{
|
||||
// pdfjs-dist standard font data (Helvetica/Times/etc.) — needed so
|
||||
// workers can substitute non-embedded base 14 fonts without DOM access.
|
||||
src: "node_modules/pdfjs-dist/standard_fonts/*",
|
||||
dest: "pdfjs/standard_fonts",
|
||||
},
|
||||
],
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user