1. A method for selecting a font size for text displayed in a display region, comprising: detecting a height and a width of the display region; determining a height and a width of an initial text region defining a minimum region required for displaying the text using a default font size; defining a plurality of adjusted text regions of different sizes, each adjusted text region comprising a height and a width, wherein: the height of each of the plurality of adjusted text regions corresponds to a different number of lines of text within the adjusted text region; and the width of each of the plurality of adjusted text regions corresponds to the width of the initial text region reduced by a reduction amount corresponding to the number of lines within the adjusted text region; identifying, for each of the plurality of adjusted text regions, the smaller of the ratio of the height of the display region over the height of the adjusted text region and the ratio of the width of the display region over the width of the adjusted text region; identifying the one of the plurality of adjusted text regions having the largest of the identified smaller ratios; and displaying the text in the display region using a reduced font size corresponding to the default font size reduced by the reduction amount of the identified one of the adjusted text regions.
1. A method for selecting a font size for text displayed in a display region, comprising: detecting a height and a width of the display region; determining a height and a width of an initial text region defining a minimum region required for displaying the text using a default font size; defining a plurality of adjusted text regions of different sizes, each adjusted text region comprising a height and a width, wherein: the height of each of the plurality of adjusted text regions corresponds to a different number of lines of text within the adjusted text region; and the width of each of the plurality of adjusted text regions corresponds to the width of the initial text region reduced by a reduction amount corresponding to the number of lines within the adjusted text region; identifying, for each of the plurality of adjusted text regions, the smaller of the ratio of the height of the display region over the height of the adjusted text region and the ratio of the width of the display region over the width of the adjusted text region; identifying the one of the plurality of adjusted text regions having the largest of the identified smaller ratios; and displaying the text in the display region using a reduced font size corresponding to the default font size reduced by the reduction amount of the identified one of the adjusted text regions. 2. The method of claim 1 , further comprising: determining that the width of the initial text region is less than the width of the display region; and displaying the text in the display region using the default font size.