function computeWidth (wrapPixels, wrapCount, widthFactor) {
  return wrapPixels || ((0.5 + wrapCount) * widthFactor);
}
Determine wrap pixel count. Either specified or by experimental fudge factor.
Note that experimental factor will never be correct for variable width fonts.