summaryrefslogtreecommitdiff
path: root/Ladybird/FontPluginQt.h
blob: ef1677b701fb21208f5b8019d1671bd07563d0d2 (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
25
26
27
/*
 * 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 Ladybird {

class FontPluginQt final : public Web::Platform::FontPlugin {
public:
    FontPluginQt();
    virtual ~FontPluginQt();

    virtual String generic_font_name(Web::Platform::GenericFont) override;

    void update_generic_fonts();

private:
    Vector<String> m_generic_font_names;
};

}