docs: function calculateCountOfReplacementChar(string, replaceByChar = ' ') {
  	var characters = 0
  	string
  		.split('')
  		.forEach(char => {
  			var size = charSizes.get(char) || 1
  			characters += size
  		})
  	// All sizes were measured against space char. Recalculate if needed.
  	if (replaceByChar !== ' ')
  		characters = characters / charSizes.get(replaceByChar)
  	return Math.round(characters)
  }