#include "FontRegistry.h" #include "FontList.h" namespace kte::Fonts { void InstallDefaultFonts() { FontRegistry::Instance().Register(std::make_unique( "default", BrassMono::DefaultFontBoldCompressedData, BrassMono::DefaultFontBoldCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "b612", B612Mono::DefaultFontRegularCompressedData, B612Mono::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "brassmono", BrassMono::DefaultFontRegularCompressedData, BrassMono::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "brassmono-bold", BrassMono::DefaultFontBoldCompressedData, BrassMono::DefaultFontBoldCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "brassmonocode", BrassMonoCode::DefaultFontRegularCompressedData, BrassMonoCode::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "brassmonocode-bold", BrassMonoCode::DefaultFontBoldCompressedData, BrassMonoCode::DefaultFontBoldCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "fira", FiraCode::DefaultFontRegularCompressedData, FiraCode::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "go", Go::DefaultFontRegularCompressedData, Go::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "ibm", IBMPlexMono::DefaultFontRegularCompressedData, IBMPlexMono::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "idealist", Idealist::DefaultFontRegularCompressedData, Idealist::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "inconsolata", Inconsolata::DefaultFontRegularCompressedData, Inconsolata::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "inconsolataex", InconsolataExpanded::DefaultFontRegularCompressedData, InconsolataExpanded::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "iosevka", Iosoveka::DefaultFontRegularCompressedData, Iosoveka::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "iosevkaex", IosevkaExtended::DefaultFontRegularCompressedData, IosevkaExtended::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "sharetech", ShareTech::DefaultFontRegularCompressedData, ShareTech::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "space", SpaceMono::DefaultFontRegularCompressedData, SpaceMono::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "syne", Syne::DefaultFontRegularCompressedData, Syne::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "triplicate", Triplicate::DefaultFontRegularCompressedData, Triplicate::DefaultFontRegularCompressedSize )); FontRegistry::Instance().Register(std::make_unique( "unispace", Unispace::DefaultFontRegularCompressedData, Unispace::DefaultFontRegularCompressedSize )); } }