wren
Vulkan-based game engine
Loading...
Searching...
No Matches
font.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <filesystem>
5#include <string_view>
6#include <wren/utils/errors.hpp>
7
8namespace wren::text {
9
10static constexpr std::array DEFAULT_FONTS = {
11 std::string_view{"Canterlla Regular"},
12};
13
15
16} // namespace wren::text
Definition font.hpp:8
auto load_default_font() -> wren::expected< std::filesystem::path >
Definition font.cpp:11
static constexpr std::array DEFAULT_FONTS
Definition font.hpp:10
std::expected< T, Err > expected
Definition result.hpp:49