Lines Matching refs:table

2138 	      paddingRight: function(i, node) { return (i < node.table.widths.length - 1) ? 4 : 0; },
2142 if (i === 0 || i === node.table.body.length) return 0;
2143 return (i === node.table.headerRows) ? 2 : 0;
2150 return (i === node.table.widths.length - 1) ? 0 : 8;
2155 if (i === 0 || i === node.table.body.length) return 0;
2156 return (i === node.table.headerRows) ? 2 : 1;
2164 return (i === node.table.widths.length - 1) ? 0 : 8;
13709 } else if (node.table) {
13909 for(var i = 0, l = tableNode.table.body.length; i < l; i++) {
13912 …result = this.processRow(tableNode.table.body[i], tableNode.table.widths, tableNode._offsets.offse…
14097 } else if (node.table) {
14331 for(col = 0, cols = node.table.body[0].length; col < cols; col++) {
14332 var c = node.table.widths[col];
14336 for(row = 0, rows = node.table.body.length; row < rows; row++) {
14337 var rowData = node.table.body[row];
14353 markVSpans(node.table, row, col, data.rowSpan);
14360 var measures = ColumnCalculator.measureMinMax(node.table.widths);
14402 for(var i = 0, l = node.table.widths.length; i < l; i++) {
14409 totalOffset += prevRightPadding + layout.vLineWidth(node.table.widths.length, node);
14431 node.table.widths[span.col + j]._minWidth += q;
14439 node.table.widths[span.col + j]._maxWidth += q;
14449 result.minWidth += node.table.widths[col + i]._minWidth + (i? offsets.offsets[col + i] : 0);
14450 result.maxWidth += node.table.widths[col + i]._maxWidth + (i? offsets.offsets[col + i] : 0);
14467 function markVSpans(table, row, col, span) {
14469 table.body[row + i][col] = {
14473 fillColor: table.body[row][col].fillColor
14479 if (!node.table.widths) {
14480 node.table.widths = 'auto';
14483 if (typeof node.table.widths === 'string' || node.table.widths instanceof String) {
14484 node.table.widths = [ node.table.widths ];
14486 while(node.table.widths.length < node.table.body[0].length) {
14487 node.table.widths.push(node.table.widths[node.table.widths.length - 1]);
14491 for(var i = 0, l = node.table.widths.length; i < l; i++) {
14492 var w = node.table.widths[i];
14494 node.table.widths[i] = { width: w };
16737 ColumnCalculator.buildColumnWidths(tableNode.table.widths, availableWidth);
16743 this.headerRows = tableNode.table.headerRows || 0;
16744 this.rowsWithoutPageBreak = this.headerRows + (tableNode.table.keepWithHeaderRows || 0);
16745 this.dontBreakRows = tableNode.table.dontBreakRows || false;
16756 tableNode.table.widths.forEach(function(w) {
16770 for(var i = 0, l = self.tableNode.table.body[0].length; i < l; i++) {
16773 lastWidth = paddings + lBorder + self.tableNode.table.widths[i]._calcWidth;
16928 var fillColor= this.tableNode.table.body[rowIndex][colIndex].fillColor;
16957 var row = this.tableNode.table.body[rowIndex];
16965 this.tableNode.table.body[rowIndex + j][i]._colSpan = row[i].colSpan;
16993 …wIndex === (this.rowsWithoutPageBreak - 1) || rowIndex === this.tableNode.table.body.length - 1)) {
17004 for(var i = 0, l = self.tableNode.table.body[rowIndex].length; i < l; i++) {
17008 var item = self.tableNode.table.body[rowIndex][i];
24389 var c, table = [];
24396 table[n] = c;
24399 return table;
26303 …module.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, o…
26384 table[table_index++] = (1 << 24) | (64 << 16) | 0;
26390 table[table_index++] = (1 << 24) | (64 << 16) | 0;
26521 table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;
26575 table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;
26586 table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;
29854 …h, entrySelector, headOffset, log2, offset, rangeShift, searchRange, sum, table, tableCount, table…
29871 table = tables[tag];
29873 directory.writeInt(checksum(table));
29875 directory.writeInt(table.length);
29876 tableData = tableData.concat(table);
29880 offset += table.length;
29998 …var id, list, nameID, nameTable, postscriptName, strCount, strTable, string, strings, table, val, …
30019 table = new Data;
30021 table.writeShort(0);
30022 table.writeShort(strCount);
30023 table.writeShort(6 + 12 * strCount);
30029 table.writeShort(string.platformID);
30030 table.writeShort(string.encodingID);
30031 table.writeShort(string.languageID);
30032 table.writeShort(nameID);
30033 table.writeShort(string.length);
30034 table.writeShort(strTable.pos);
30041 table: table.data.concat(strTable.data)
30237 var table;
30238 table = new Data;
30239 table.writeInt(this.version);
30240 table.writeInt(this.revision);
30241 table.writeInt(this.checkSumAdjustment);
30242 table.writeInt(this.magicNumber);
30243 table.writeShort(this.flags);
30244 table.writeShort(this.unitsPerEm);
30245 table.writeLongLong(this.created);
30246 table.writeLongLong(this.modified);
30247 table.writeShort(this.xMin);
30248 table.writeShort(this.yMin);
30249 table.writeShort(this.xMax);
30250 table.writeShort(this.yMax);
30251 table.writeShort(this.macStyle);
30252 table.writeShort(this.lowestRecPPEM);
30253 table.writeShort(this.fontDirectionHint);
30254 table.writeShort(loca.type);
30255 table.writeShort(this.glyphDataFormat);
30256 return table.data;
30311 var result, table;
30316 table = new Data;
30317 table.writeUInt16(0);
30318 table.writeUInt16(1);
30319 result.table = table.data.concat(result.subtable);
30636 var id, metric, table, _i, _len;
30637 table = new Data;
30641 table.writeUInt16(metric.advance);
30642 table.writeUInt16(metric.lsb);
30644 return table.data;
30698 var i, table, _i, _ref;
30699 table = new Data;
30700 table.writeInt(this.version);
30701 table.writeShort(this.ascender);
30702 table.writeShort(this.decender);
30703 table.writeShort(this.lineGap);
30704 table.writeShort(this.advanceWidthMax);
30705 table.writeShort(this.minLeftSideBearing);
30706 table.writeShort(this.minRightSideBearing);
30707 table.writeShort(this.xMaxExtent);
30708 table.writeShort(this.caretSlopeRise);
30709 table.writeShort(this.caretSlopeRun);
30710 table.writeShort(this.caretOffset);
30712 table.writeByte(0);
30714 table.writeShort(this.metricDataFormat);
30715 table.writeUInt16(ids.length);
30716 return table.data;
30771 var table;
30772 table = new Data;
30773 table.writeInt(this.version);
30774 table.writeUInt16(ids.length);
30775 table.writeUInt16(this.maxPoints);
30776 table.writeUInt16(this.maxContours);
30777 table.writeUInt16(this.maxCompositePoints);
30778 table.writeUInt16(this.maxComponentContours);
30779 table.writeUInt16(this.maxZones);
30780 table.writeUInt16(this.maxTwilightPoints);
30781 table.writeUInt16(this.maxStorage);
30782 table.writeUInt16(this.maxFunctionDefs);
30783 table.writeUInt16(this.maxInstructionDefs);
30784 table.writeUInt16(this.maxStackElements);
30785 table.writeUInt16(this.maxSizeOfInstructions);
30786 table.writeUInt16(this.maxComponentElements);
30787 table.writeUInt16(this.maxComponentDepth);
30788 return table.data;
30894 …var id, index, indexes, position, post, raw, string, strings, table, _i, _j, _k, _len, _len1, _len…
30902 table = new Data(raw.slice(0, 32));
30903 table.writeUInt32(0x00020000);
30904 table.pos = 32;
30918 table.writeUInt16(Object.keys(mapping).length);
30921 table.writeUInt16(index);
30925 table.writeByte(string.length);
30926 table.writeString(string);
30928 return table.data;
31096 var o, offset, ret, table, _i, _j, _k, _len, _len1, _len2, _ref;
31097 table = new Data;
31106 table.writeUInt32(o);
31110 table: table.data
31115 table.writeUInt16(o / 2);
31119 table: table.data
31188 var glyph, id, offsets, table, _i, _len;
31189 table = [];
31194 offsets.push(table.length);
31196 table = table.concat(glyph.encode(old2new));
31199 offsets.push(table.length);
31201 table: table,
31580 cmap: cmap.table,
31581 glyf: glyf.table,
31582 loca: loca.table,
31587 name: name.table,