1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:37:35 +00:00

LibPDF: Resize fonts when the text and line matrices change

This commit is contained in:
Matthew Olsson 2023-07-18 18:35:53 -07:00 committed by Sam Atkins
parent 9a0e1dde42
commit 5f8fd47214
8 changed files with 26 additions and 0 deletions

View file

@ -26,6 +26,7 @@ public:
virtual ~PDFFont() = default;
virtual void set_font_size(float font_size) = 0;
virtual PDFErrorOr<Gfx::FloatPoint> draw_string(Gfx::Painter&, Gfx::FloatPoint, DeprecatedString const&, Color const&, float font_size, float character_spacing, float horizontal_scaling) = 0;
virtual Type type() const = 0;