Lines Matching refs:fontName

30944       var fontName;
30948 fontName = fontArgs[0].name;
30951 return this.loadFont(fontName, fontRef, resources).then(function (translated) {
31075 loadFont: function PartialEvaluator_loadFont(fontName, font, resources) {
31079 …solve(new TranslatedFont('g_font_error', new _fonts.ErrorFont('Font ' + fontName + ' is not availa…
31095 fontRef = fontRes.getRaw(fontName);
31708 fontName: null
31737 textContentItem.fontName = font.loadedName;
31812 fontName: textChunk.fontName
31816 function handleSetFont(fontName, fontRef) {
31817 return self.loadFont(fontName, fontRef, resources).then(function (translated) {
31967 … if (textState.font && fontNameArg === textState.fontName && fontSizeArg === textState.fontSize) {
31972 textState.fontName = fontNameArg;
32226 textState.fontName = null;
32868 var fontName = descriptor.get('FontName');
32871 if ((0, _util.isString)(fontName)) {
32872 fontName = _primitives.Name.get(fontName);
32880 var fontNameStr = fontName && fontName.name;
32887 fontName = baseFont;
32892 fontName = fontName || baseFont;
32894 if (!(0, _primitives.isName)(fontName)) {
32916 name: fontName.name,
32968 return new _fonts.Font(fontName.name, fontFile, properties);
33128 this.fontName = null;
35703 var fontName = name.replace(/[,_]/g, '-');
35706 …var isStandardFont = !!stdFontMap[fontName] || !!(nonStdFontMap[fontName] && stdFontMap[nonStdFont…
35707 fontName = stdFontMap[fontName] || nonStdFontMap[fontName] || fontName;
35708 this.bold = fontName.search(/bold/gi) !== -1;
35709 this.italic = fontName.search(/oblique/gi) !== -1 || fontName.search(/italic/gi) !== -1;
35745 } else if (/Symbol/i.test(fontName)) {
35747 } else if (/Dingbats/i.test(fontName)) {
35771 this.loadedName = fontName.split('-')[0];
35874 function readTrueTypeCollectionData(ttc, fontName) {
35894 if (nameEntry && nameEntry.replace(/\s/g, '') === fontName) {
35904 …throw new _util.FormatError("TrueType Collection does not contain \"".concat(fontName, "\" font.")…
37114 convert: function Font_convert(fontName, font, properties) {
37232 builder.addTable('name', createNameTable(fontName));