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:
plind
2026-04-20 19:31:07 +01:00
committed by GitHub
co-authored by Anthony Stirling EthanHealy01
parent 089e448cf4
commit 66a75b1f28
14 changed files with 1302 additions and 7 deletions
+13
View File
@@ -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",
},
],
}),
],