1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

LibWeb: Parse @font-face unicode-range descriptor

This commit is contained in:
Sam Atkins 2022-03-31 16:39:52 +01:00 committed by Andreas Kling
parent ef7d80ced2
commit dbbd6d3508
4 changed files with 43 additions and 4 deletions

View file

@ -8,9 +8,10 @@
namespace Web::CSS {
FontFace::FontFace(FlyString font_family, Vector<Source> sources)
FontFace::FontFace(FlyString font_family, Vector<Source> sources, Vector<UnicodeRange> unicode_ranges)
: m_font_family(move(font_family))
, m_sources(move(sources))
, m_unicode_ranges(move(unicode_ranges))
{
}