mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 17:15:08 +00:00

When calculating the width of text using a bitmap font, a glyph spacing is added at the end of each fragment, including the last one. This meant that everything was 1 pixel too long. This bug did not affect vector fonts.
1 line
69 B
HTML
1 line
69 B
HTML
<!DOCTYPE html><p style="font-family: Katica">This is some text.</p>
|