mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:47:34 +00:00
LibPDF: Accept font size in PDFFont::get_char_width
This will be required for TTF fonts
This commit is contained in:
parent
5f9d35909d
commit
058cf5f7f7
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue