main: set optimal icon size from the font height
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When searching for icons, we use the font height as-is. I.e. don't try to find icons that are exactly the size of a whole line, as that looks ugly. However, when rendering, we *do* allow icons that are larger than the font height, but still within the line height. This is to avoid scaling. When we do have to scale, we scale it to the font height, not the line height.
authored by Daniel Eklöf · committed by Daniel Eklöf · parent 0d7b79c · Browse files · 2 files+12 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+12 added−2 removed
- other:+12 added−2 removed