On high-resolution (HiRes) displays, the pixel size of a font is much larger than the hard-coded 17 pixels, e.g. more than 40 for me. It's better to get the line high of the current font from it's metrics and calculate the high of the box with it. |
||
---|---|---|
.. | ||
kivy | ||
qt | ||
__init__.py | ||
stdio.py | ||
text.py |