mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
LibGfx: Remove bogus rounding in FontPixelMetrics::line_spacing()
This commit is contained in:
parent
bb0c5f8ab4
commit
8887766607
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ struct FontPixelMetrics {
|
|||
// Line gap specified by font.
|
||||
float line_gap { 0 };
|
||||
|
||||
float line_spacing() const { return roundf(ascent) + roundf(descent) + roundf(line_gap); }
|
||||
float line_spacing() const { return ascent + descent + line_gap; }
|
||||
};
|
||||
|
||||
class Font : public RefCounted<Font> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue