Skip to content

Commit

Permalink
Update props.to.pdf.doc.init.params.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lbhmygod authored Aug 9, 2023
1 parent f211011 commit 1f5e14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/props.to.pdf.doc.init.params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { VerbosityLevel } from './types/verbosity.level';
import { join } from "path";

export function propsToPdfDocInitParams(props?: PdfToPngOptions): pdfApiTypes.DocumentInitParameters {
const cMapUrl = join(__dirname,'../node_modules/pdfjs-dist/cmaps/');
const cMapUrl = join(__dirname,'../../../node_modules/pdfjs-dist/cmaps/');
const cMapPacked = true;
const standardFontDataUrl = join(__dirname, '../../../node_modules/pdfjs-dist/standard_fonts/');
const pdfDocInitParams: pdfApiTypes.DocumentInitParameters = {
Expand Down

0 comments on commit 1f5e14e

Please sign in to comment.