lmgl 1.0.0
A lightweight OpenGL graphics engine library written in C++
Loading...
Searching...
No Matches
font.hpp File Reference

Font loading and glyph atlas generation for text rendering. More...

#include "lmgl/renderer/texture.hpp"
#include <glm/glm.hpp>
#include <memory>
#include <string>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  lmgl::ui::Glyph
 Glyph metadata for a single character. More...
class  lmgl::ui::Font
 Font class for loading and rendering text. More...
class  lmgl::ui::FontManager
 Font manager for caching loaded fonts. More...

Namespaces

namespace  lmgl
 Forward declarations for Assimp Material structure.
namespace  lmgl::ui

Detailed Description

Font loading and glyph atlas generation for text rendering.

This header file contains the Font class which handles loading TrueType fonts using FreeType, generating texture atlases, and providing glyph metrics.