1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:07:44 +00:00

LibPDF: Accept font size in PDFFont::get_char_width

This will be required for TTF fonts
This commit is contained in:
Matthew Olsson 2022-03-25 08:14:19 -07:00 committed by Andreas Kling
parent 5f9d35909d
commit 058cf5f7f7
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ public:
virtual ~PDFFont() = default;
virtual u32 char_code_to_code_point(u16 char_code) const = 0;
virtual float get_char_width(u16 char_code) const = 0;
virtual float get_char_width(u16 char_code, float font_size) const = 0;
};
}