Lines Matching refs:_font
16462 this._font = null;
16492 this._font = font;
16497 …this._font = PDFFontFactory.open(this, src, family, id); // check for existing font familes with t…
16500 if (font = this._fontFamilies[this._font.name]) {
16501 this._font = font;
16506 this._fontFamilies[cacheKey] = this._font;
16508 if (this._font.name) {
16509 this._fontFamilies[this._font.name] = this._font;
16521 return this._font.lineHeight(this._fontSize, includeGap);
16902 …return this._font.widthOfString(string, this._fontSize, options.features) + (options.characterSpac…
16924 var unit = Math.round(this._font.ascender / 1000 * this._fontSize);
17118 dy = 0.5 * this._font.xHeight;
17122 dy = 0.5 * (this._font.descender + this._font.ascender);
17126 dy = this._font.descender;
17132 dy = 0.5 * this._font.ascender;
17135 dy = 0.8 * this._font.ascender;
17138 dy = this._font.ascender;
17141 dy = this._font.ascender;
17202 if (this.page.fonts[this._font.id] == null) {
17203 this.page.fonts[this._font.id] = this._font.ref();
17210 …this.addContent("/".concat(this._font.id, " ").concat(number$2(this._fontSize), " Tf")); // render…
17235 var _this$_font$encode = this._font.encode(word, options.features),
17258 var _this$_font$encode3 = this._font.encode(text, options.features);
18394 if (!this._font) {
18399 defaultFont: this._font.name
18401 this._acroform.fonts[this._font.id] = this._font.ref();
18405 DA: new String("/".concat(this._font.id, " 0 Tf 0 g")),
18410 data.DR.Font[this._font.id] = this._font.ref();
18650 if (this._acroform.fonts[this._font.id] === null) {
18651 this._acroform.fonts[this._font.id] = this._font.ref();
18654 if (this._acroform.defaultFont !== this._font.name) {
18660 options.DR.Font[this._font.id] = this._font.ref();
18661 options.DA = new String("/".concat(this._font.id, " ").concat(fontSize, " Tf 0 g"));
22585 this.decorate(0.05 * this._font.size, -0.075 * this._font.size, isClip, isMask);
22588 …this.decorate(0.05 * this._font.size, getAscent(this._font.font, this._font.size) + 0.075 * this._…
22593 if (this._font.fauxBold) {
22596 strokeWidth = this._font.size * 0.03;
22598 strokeWidth += this._font.size * 0.03;
22627 docBeginText(this._font.font, this._font.size);
22633 skew = this._font.fauxItalic ? -0.25 : 0;
22644 …his.decorate(0.05 * this._font.size, 0.5 * (getAscent(this._font.font, this._font.size) + getDesce…
22778 currentElem._font = {
22779 font: doc._font,
22790 …baseline = getBaseline(currentElem._font.font, currentElem._font.size, currentElem.get('alignment-…
22809 childElem._font = currentElem._font;
22830 var pos = getTextPos(currentElem._font.font, currentElem._font.size, words[w]);
22866 ascent: getAscent(currentElem._font.font, currentElem._font.size),
22867 descent: getDescent(currentElem._font.font, currentElem._font.size),
59119 this._font = font;
59142 return new GlyphInfo(this._font, this.id, this.codePoints, this.features);
59152 var GDEF = this._font.GDEF;
59798 var GSUB = glyphs[0]._font._layoutEngine.engine.GSUBProcessor;
61816 this._font = font; // TODO: get this info from GDEF if available
61846 var _this$_getTableMetric = this._getTableMetrics(this._font.hmtx),
61850 if (this._font.vmtx) {
61851 var _this$_getTableMetric2 = this._getTableMetrics(this._font.vmtx),
61859 if ((os2 = this._font['OS/2']) && os2.version > 0) {
61863 var hhea = this._font.hhea;
61868 if (this._font._variationProcessor && this._font.HVAR) {
61869 advanceWidth += this._font._variationProcessor.getAdvanceAdjustment(this.id, this._font.HVAR);
61895 var scale = 1 / this._font.unitsPerEm * size;
61903 var post = this._font.post;
61933 var scale = 1 / this._font.head.unitsPerEm * size;
62053 if (this._font._variationProcessor && !internal) {
62056 var stream = this._font._getTableStream('glyf');
62057 stream.pos += this._font.loca.offsets[this.id];
62082 var glyfPos = this._font.loca.offsets[this.id];
62083 …var nextPos = this._font.loca.offsets[this.id + 1]; // Nothing to do if there is no data for this …
62088 var stream = this._font._getTableStream('glyf');
62132 if (this._font._variationProcessor) {
62135 this._font._variationProcessor.transformPoints(this.id, points);
62178 if (this._font._variationProcessor) {
62185 this._font._variationProcessor.transformPoints(this.id, points);
62218 var _contours = this._font.getGlyph(component.glyphID)._getContours();
62233 if (glyph.phantomPoints && !this._font.directory.tables.HVAR) {
62257 if (this._font._variationProcessor && !this._font.HVAR) {
62326 if (this._font.CFF2) {
62329 return this._font['CFF '].getGlyphName(this.id);
62341 var cff = this._font.CFF2 || this._font['CFF '];
62365 var variationProcessor = this._font._variationProcessor;
62904 for (var i = 0; i < this._font.sbix.imageTables.length; i++) {
62905 var table = this._font.sbix.imageTables[i];
62916 this._font.stream.pos = start;
62917 return SBIXImage.decode(this._font.stream, {
62924 var scale = size / this._font.unitsPerEm;
62931 if (this._font.sbix.flags.renderOutlines) {
62980 var cpal = this._font.CPAL;
62981 var colr = this._font.COLR;
62999 var g = this._font._getBaseGlyph(this.id);
63013 var g = this._font._getBaseGlyph(rec.gid);
64463 return this._font._transformedGlyphs[this.id];
64619 _font: this
69176 this.fontCache[familyName][type] = this.pdfKitDoc.font.apply(this.pdfKitDoc, def)._font;
71023 pdfKitDoc._font = inline.font;
71055 pdfKitDoc._font = watermark.font;