Files
ladybird/Userland/Libraries/LibPDF
Julian Offenhäuser 4f4bd3793f LibPDF: Fix glyph sizing bug that caused incorrect spacing
When loading OpenType fonts, either as a replacement for the standard
14 fonts or an embedded one, we previously passed the font size as the
_point_ size to the loader class. The difference is quite subtle, being
that Gfx::ScaledFont uses the optional dpi parameter to convert the
input from inches to pixels.

This meant that our glyphs were exactly 1.333% too large, causing them
to overlap in places.
2023-02-10 15:37:51 +01:00
..
2023-01-25 15:40:11 +01:00
2023-02-08 19:47:15 +01:00
2023-02-08 19:47:15 +01:00