diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-27 00:49:27 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-27 01:14:56 +0100 |
commit | ff951c89fe297ae83b20f278c184bc77730b3b13 (patch) | |
tree | d7dad41d2795d1deb2abcf4efbe6841e6f1a1fe6 /Userland/DevTools | |
parent | d5bba91a16eeb5cd2c927dbf0c08a4ab1bbe8631 (diff) | |
download | serenity-ff951c89fe297ae83b20f278c184bc77730b3b13.zip |
LibGfx: Add Font::pixel_size() and Font::point_size()
We've gotten ourselves into a bit of a mess by mixing pixel and point
sizes in multiple places. Step one towards getting out of this mess
is adding explicit accessors for the unit you're trying to fetch.
The core of the issue comes from bitmap fonts storing integer pixel
sizes and scaled (TTF) fonts storing float point sizes.
Diffstat (limited to 'Userland/DevTools')
0 files changed, 0 insertions, 0 deletions