1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:27:44 +00:00
serenity/Userland/Libraries/LibPDF/Fonts
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
..
CFF.cpp LibPDF: Add infrastructure for accented character glyphs 2023-02-08 19:47:15 +01:00
CFF.h LibPDF: Add initial CFF parsing 2023-01-25 15:40:11 +01:00
PDFFont.cpp LibPDF: Fix glyph sizing bug that caused incorrect spacing 2023-02-10 15:37:51 +01:00
PDFFont.h LibPDF: Stop calculating code points for glyphs 2023-02-02 14:50:38 +01:00
PS1FontProgram.cpp LibPDF: Add infrastructure for accented character glyphs 2023-02-08 19:47:15 +01:00
PS1FontProgram.h LibPDF: Remove declarations for non-existent methods 2023-01-27 20:33:18 +00:00
TrueTypeFont.cpp LibPDF: Fix glyph sizing bug that caused incorrect spacing 2023-02-10 15:37:51 +01:00
TrueTypeFont.h LibPDF: Stop calculating code points for glyphs 2023-02-02 14:50:38 +01:00
Type0Font.cpp LibPDF: Stop calculating code points for glyphs 2023-02-02 14:50:38 +01:00
Type0Font.h LibPDF: Stop calculating code points for glyphs 2023-02-02 14:50:38 +01:00
Type1Font.cpp LibPDF: Index Type1 glyphs by name, not char code 2023-02-08 19:47:15 +01:00
Type1Font.h LibPDF: Stop calculating code points for glyphs 2023-02-02 14:50:38 +01:00
Type1FontProgram.cpp LibPDF: Construct accented characters with Type1 seac command 2023-02-08 19:47:15 +01:00
Type1FontProgram.h LibPDF: Add infrastructure for accented character glyphs 2023-02-08 19:47:15 +01:00