summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Platform/FontPluginSerenity.h
blob: fccb3112eebdd843734fa2e42d7aaea71e376771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Vector.h>
#include <LibWeb/Platform/FontPlugin.h>

namespace Web::Platform {

class FontPluginSerenity final : public FontPlugin {
public:
    FontPluginSerenity();
    virtual ~FontPluginSerenity();

    virtual Gfx::Font& default_font() override;
    virtual Gfx::Font& default_fixed_width_font() override;
    virtual DeprecatedString generic_font_name(GenericFont) override;
};

}