Cross platform guessWidth()