Skip to content

Commit

Permalink
Merge pull request #46 from rderimay/main
Browse files Browse the repository at this point in the history
Update const.ts, fixes lost PR #39
  • Loading branch information
dichovsky authored May 8, 2024
2 parents 6591d61 + b67fd9a commit bc0c294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const PDF_TO_PNG_OPTIONS_DEFAULTS: PdfToPngOptions = {
};

export const DOCUMENT_INIT_PARAMS_DEFAULTS: DocumentInitParameters = {
cMapUrl: join(__dirname, '../../node_modules/pdfjs-dist/cmaps/'),
cMapUrl: join(__dirname, '../../../node_modules/pdfjs-dist/cmaps/'),
cMapPacked: true,
standardFontDataUrl: join(__dirname, '../../node_modules/pdfjs-dist/standard_fonts/'),
standardFontDataUrl: join(__dirname, '../../../node_modules/pdfjs-dist/standard_fonts/'),
}

0 comments on commit bc0c294

Please sign in to comment.