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

LibPDF: Remove unused PDFFont::type()

This got added in #15270, but its one use then got removed again
in #16150.

No behavior change.
This commit is contained in:
Nico Weber 2023-11-14 08:17:42 -05:00 committed by Sam Atkins
parent 26fd29baf8
commit 843e9daa8c
4 changed files with 0 additions and 10 deletions

View file

@ -16,12 +16,6 @@ namespace PDF {
class PDFFont : public RefCounted<PDFFont> {
public:
enum class Type {
Type0,
Type1,
TrueType
};
static PDFErrorOr<NonnullRefPtr<PDFFont>> create(Document*, NonnullRefPtr<DictObject> const&, float font_size);
virtual ~PDFFont() = default;
@ -29,7 +23,6 @@ public:
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 word_spacing, float horizontal_scaling) = 0;
virtual Type type() const = 0;
DeprecatedFlyString base_font_name() const { return m_base_font_name; }
protected: