Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PDFJS.FontLoader.bind = function nodeFontLoaderBind(pdf, fonts, callback) {
}

var fontName = font.loadedName;
var fontFile = 'temp/' + pdf._idx + '_' + fontName + '.ttf';
var fontFile = __dirname + '/../temp/' + pdf._idx + '_' + fontName + '.ttf';

// Temporary hack for loading the font. Write it to file such that a font
// object can get created from it and use it on the context.
Expand Down