35#ifndef LIBTCOD_TILESET_BDF_HPP_
36#define LIBTCOD_TILESET_BDF_HPP_
55inline auto load_bdf(
const std::filesystem::path& path) -> TilesetPtr {
const char * TCOD_get_error(void)
Return the last error message.
TCOD_Tileset * TCOD_load_bdf(const char *path)
Load a BDF font from a file path.
The libtcod namespace.
Definition color.hpp:45
void check_path(const std::filesystem::path &path)
Throw an exception if the given path does not exist.
Definition error.hpp:78
Load BDF fonts as tilesets.