mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
954ba9608e
If the button text would be truncated, try to avoid it by reducing the font size, and even switching to a 2-lines TextBoxWidget. TextBoxWidget: fix possible glyphs truncations when a small line_height is used. Also avoid some bad result from getFontSizeToFitHeight(), possible due to some rounding errors.