FontFace.cpp 398 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2022-2023, Sam Atkins <atkinssj@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibWeb/CSS/FontFace.h>
  7. namespace Web::CSS {
  8. FontFace::FontFace(FlyString font_family, Vector<Source> sources, Vector<UnicodeRange> unicode_ranges)
  9. : m_font_family(move(font_family))
  10. , m_sources(move(sources))
  11. , m_unicode_ranges(move(unicode_ranges))
  12. {
  13. }
  14. }