This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TextMeasurement.cpp | |
// | |
// Originally taken from Cameron McCormack's text_measurement.cpp | |
// https://gist.github.com/heycam/942f621ff9def88af92ddc3ec2d59a03 | |
// | |
// ACME Browser Corporation is writing a brand new browser engine! One of the | |
// main responsibilities of a browser is to display text to the user, and this | |
// text must be wrapped to the width of the browser window so that the user | |
// is not scrolling back and forth all the time. | |
// |
OlderNewer