font = font_registry.GetDefaultFont() fontH = font.GetOneLineHeight() ' fontH is 47
After a new round of compatibility testing today, I discovered that on my classic Roku HD N1100 (software 3.1), the GetDefaultFont font height is actually 49, but on my Roku 2 XS (software 6.1) the font height is 47, which is what I've been banking on for a few weeks of development.
Am I missing something, or is this a change that is documented somewhere?
Presumably the difference is character height (including ascenders and descenders) vs. line height. The latter being the character height plus the surrounding padding, so you can accurately measure and layout multiple lines without having the text for each line touching the surrounding lines.