/* * Copyright (c) 2022, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::CSS { class FontFace { public: struct Source { AK::URL url; }; FontFace(FlyString font_family, Vector sources); ~FontFace() = default; FlyString font_family() const { return m_font_family; } Vector const& sources() const { return m_sources; } // FIXME: font-style, font-weight, font-stretch, unicode-range, font-feature-settings private: FlyString m_font_family; Vector m_sources; }; }