improve atlas texture size handling

This commit is contained in:
ohyzha
2024-08-08 17:41:02 +03:00
parent 1659cee9eb
commit ae39847d95
3 changed files with 30 additions and 20 deletions

View File

@@ -70,8 +70,8 @@ namespace OpenVulkano
#ifdef MSDFGEN_AVAILABLE
msdf_atlas::Charset charset = MsdfFontAtlasGenerator::LoadAllGlyphs(fontPath);
//Charset charset = Charset::ASCII;
//for (unicode_t c = 0x0410; c <= 0x041F; c++)
//msdf_atlas::Charset charset = msdf_atlas::Charset::ASCII;
//for (msdf_atlas::unicode_t c = 0x0410; c <= 0x041F; c++)
//{
// // some unicode values
// charset.add(c);