This commit is contained in:
Jorijn van der Graaf 2026-04-16 23:03:24 +02:00
commit c9ebd448f9
7 changed files with 278 additions and 73 deletions

View file

@ -33,6 +33,7 @@ namespace Crafter {
std::int_fast32_t descent;
std::int_fast32_t lineGap;
stbtt_fontinfo font;
Font(const std::filesystem::path& font);
Font(const std::filesystem::path& font);
std::uint32_t GetLineWidth(const std::string_view text, float size);
};
}