diff --git a/src/printer.js b/src/printer.js index 5d3af87f2..81bc851d3 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], familyName)._font; + fontCache[type] = this.pdfDoc.font(this.fonts[familyName][type], familyName + ' (' + type + ')')._font; return fontCache[type]; };