Initial commit

This commit is contained in:
Gericom
2025-11-22 17:21:45 +01:00
commit 5d6f67c612
517 changed files with 63025 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
#include "common.h"
#include "NotoSansJP-Regular-10_nft2.h"
#include "NotoSansJP-Medium-7_5_nft2.h"
#include "NotoSansJP-Medium-10_nft2.h"
#include "NotoSansJP-Medium-11_nft2.h"
#include "DefaultFontRepository.h"
const nft2_header_t* DefaultFontRepository::GetFont(FontType fontType) const
{
switch (fontType)
{
case FontType::Regular10:
{
return (const nft2_header_t*)NotoSansJP_Regular_10_nft2;
}
case FontType::Medium7_5:
{
return (const nft2_header_t*)NotoSansJP_Medium_7_5_nft2;
}
case FontType::Medium10:
{
return (const nft2_header_t*)NotoSansJP_Medium_10_nft2;
}
case FontType::Medium11:
{
return (const nft2_header_t*)NotoSansJP_Medium_11_nft2;
}
default:
{
return nullptr;
}
}
}