1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 10:35:08 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Andreas Kling
44025e837f LibGfx: Use float when calculating text width in ScaledFont
This fixes an issue where we'd truncate the fractional part of each
glyph width, often making the returned width slightly too short.
2022-07-09 22:16:18 +02:00
Simon Wanner
5136c5ae1a LibGfx: Move ScaledFont and new base class VectorFont out of TTF 2022-04-09 23:48:18 +02:00