Lines Matching refs:positions
16138 var positions = [];
16141 positions.push({
16149 return [encoded, positions];
16214 for (var i = 0; i < run.positions.length; i++) {
16215 var position = run.positions[i];
16245 var positions = onlyWidth ? null : [];
16257 positions = positions.concat(run.positions);
16267 positions: positions,
16276 positions = _this$layout.positions;
16289 return [res, positions];
17084 var dy, encoded, i, positions, textWidth, words;
17229 positions = [];
17240 … positions = positions.concat(positionsWord); // add the word spacing to the end of the word
17244 var object = positions[positions.length - 1];
17250 positions[positions.length - 1] = space;
17261 positions = _this$_font$encode4[1];
17271 var advance = positions[cur - 1].xAdvance - positions[cur - 1].advanceWidth;
17284 for (i = 0; i < positions.length; i++) {
17287 var pos = positions[i];
56429 _proto16.process = function process(glyphs, positions) {
56433 positions[glyphIndex].xAdvance += this.getKerning(left, right);
56516 _proto17.positionGlyphs = function positionGlyphs(glyphs, positions) {
56527 this.positionCluster(glyphs, positions, clusterStart, clusterEnd);
56533 this.positionCluster(glyphs, positions, clusterStart, clusterEnd);
56535 return positions;
56537 _proto17.positionCluster = function positionCluster(glyphs, positions, clusterStart, clusterEnd) {
56545 var xOffset = -positions[clusterStart].xAdvance;
56552 var position = positions[index];
57086 this.positions = null;
57132 …for (var _iterator19 = _createForOfIteratorHelperLoose(this.positions), _step19; !(_step19 = _iter…
57146 …for (var _iterator20 = _createForOfIteratorHelperLoose(this.positions), _step20; !(_step20 = _iter…
57164 var p = this.positions[index];
58486 _proto23.process = function process(processor, glyphs, positions) {
58490 if (!positions) {
58494 processor.applyFeatures(stage, glyphs, positions);
58758 this.positions = []; // only used by GPOS
58901 _proto25.applyLookups = function applyLookups(lookups, glyphs, positions) {
58903 this.positions = positions;
60978 var position = this.positions[this.glyphIterator.peekIndex(sequenceIndex)];
61083 var cur = this.positions[this.glyphIterator.index];
61084 var next = this.positions[nextIndex];
61215 var basePos = this.positions[baseGlyphIndex];
61216 var markPos = this.positions[this.glyphIterator.index];
61254 this.positions[i].yOffset += this.positions[j].yOffset;
61262 this.positions[i].xOffset += this.positions[j].xOffset;
61263 this.positions[i].yOffset += this.positions[j].yOffset;
61266 this.positions[i].xOffset -= this.positions[k].xAdvance;
61267 this.positions[i].yOffset -= this.positions[k].yAdvance;
61271 this.positions[i].xOffset += this.positions[_k].xAdvance;
61272 this.positions[i].yOffset += this.positions[_k].yAdvance;
61333 this.zeroMarkAdvances(glyphRun.positions);
61336 this.plan.process(this.GPOSProcessor, this.glyphInfos, glyphRun.positions);
61339 this.zeroMarkAdvances(glyphRun.positions);
61344 glyphRun.positions.reverse();
61348 _proto29.zeroMarkAdvances = function zeroMarkAdvances(positions) {
61351 positions[i].xAdvance = 0;
61352 positions[i].yAdvance = 0;
61419 glyphRun.positions = [];
61429 …this.hideDefaultIgnorables(glyphRun.glyphs, glyphRun.positions); // Let the layout engine clean up…
61444 glyphRun.positions = glyphRun.glyphs.map(function (glyph) {
61457 this.unicodeLayoutEngine.positionGlyphs(glyphRun.glyphs, glyphRun.positions);
61464 this.kernProcessor.process(glyphRun.glyphs, glyphRun.positions);
61468 _proto30.hideDefaultIgnorables = function hideDefaultIgnorables(glyphs, positions) {
61473 positions[i].xAdvance = 0;
61474 positions[i].yAdvance = 0;
69033 l._node.positions[0].pageNumber = ctx.page + 1;
69453 return node.positions.length > 0;
69467 nodeInfo.startPosition = node.positions[0];
69468 …nodeInfo.pageNumbers = Array.from(new Set(node.positions.map(function (node) { return node.pageNum…
69569 context.backgroundLength[context.page] += pageBackground.positions.length;
69725 node.positions = [];
69861 addAll(node.positions, item.positions);
69879 addAll(columnNode.positions, result.positions);
69900 var pageBreaks = [], positions = [];
69921 addAll(positions, column.positions);
69931 return { pageBreaks: pageBreaks, positions: positions };
69985 addAll(node.positions, item.positions);
70038 addAll(tableNode.positions, result.positions);
70083 var positions = this.writer.addLine(line);
70084 node.positions.push(positions);
70158 node.positions.push(position);
70163 node.positions.push(position);
70180 node.positions.push(position);
70188 node.positions.push(position);
70956 if (isUndefined(_pageNodeRef.positions)) {
70960 var pageNumber = _pageNodeRef.positions[0].pageNumber.toString();