diff --git a/src/printer.js b/src/printer.js index b58ed553a..5d3af87f2 100644 --- a/src/printer.js +++ b/src/printer.js @@ -410,7 +410,7 @@ FontProvider.prototype.provideFont = function(familyName, bold, italics) { if (cached) return cached; var fontCache = (this.cache[familyName] = this.cache[familyName] || {}); - fontCache[type] = this.pdfDoc.font(this.fonts[familyName][type])._font; + fontCache[type] = this.pdfDoc.font(this.fonts[familyName][type], familyName)._font; return fontCache[type]; };