title: Finding out whether string can fit into rectangle on the screen
body: <p>Given a string with known formatting options, and a rectangle of known dimensions in pixels (widht, height), what is the best way to determine whether the string can fit for display in the given rectangle screen size of the current screen?</p>