function ensure(row) {
  // Width init
  /** @type number[] **/
  this._columnWidths = [];
  ensureColumnWidths.call(
    this,
    row.reduce((a, cell) => a + cell.colSpan, 0),
  );

  // Height init
  /** @type number[] **/
  this._rowHeights = [];
  /** @type number[] **/
  this._rowYPos = [this._position.y];
  /** @type {Set<NormalizedTableCellStyle>} **/
  this._rowBuffer = new Set();
}
Compute the widths of the columns, ensuring to distribute the star widths

@this PDFTable
@memberOf PDFTable
@param {NormalizedTableCellStyle[]} row
@private