Lines Matching refs:familyName
69154 FontProvider.prototype.getFontFile = function (familyName, bold, italics) {
69156 if (!this.fonts[familyName] || !this.fonts[familyName][type]) {
69160 return this.fonts[familyName][type];
69163 FontProvider.prototype.provideFont = function (familyName, bold, italics) {
69165 if (this.getFontFile(familyName, bold, italics) === null) {
69166 …throw new Error('Font \'' + familyName + '\' in style \'' + type + '\' is not defined in the font …
69169 this.fontCache[familyName] = this.fontCache[familyName] || {};
69171 if (!this.fontCache[familyName][type]) {
69172 var def = this.fonts[familyName][type];
69176 this.fontCache[familyName][type] = this.pdfKitDoc.font.apply(this.pdfKitDoc, def)._font;
69179 return this.fontCache[familyName][type];