Comment 13 for bug 1514519

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Yes, this is caused by the recent qtubuntu change where we now correctly provide the QScreen physical size.

But the font size is correct. I just measured it with a ruler on my Nexus 4. I set the terminal font size to 10 (via the apps configuration GUI) and the text height is around 3 mm. Which matches with my expectation if the size is being set in points.

One point is ~ 0.35mm. So a 10 points font would have text of height around 3.5 mm.

Before that change, QScreen was defaulting to 100 dpi when calculating its physical size, which is way lower than the 318 of Nexus 4. So yes, I would expect text sizes in points (as opposed to pixels) to get 3 times bigger after that qtubuntu fix.

So the fix for this bug is to have ubuntu-terminal-app to size its VT font in pixels and to factor in grid units when doing to. The whole UI is measured in grid units and ubuntu-terminal-app's VT font should be not exception to that.

But if you do insist in having the VT font size in a physical unit (ie, point size) then please do provide a broader range of values in that slider.