That Terminal
A terminal emulator designed for video making purposes.
GlyphList Struct Reference

#include <read_font.hh>

Collaboration diagram for GlyphList:

Public Member Functions

 GlyphList ()
 

Public Attributes

unsigned height
 Height of all glyphs.
 
std::vector< unsigned > widths
 Widths of each glyph.
 
std::unordered_map< char32_t, std::size_t > glyphs
 
std::vector< unsigned char > bitmap
 Bitmap data.
 
bool unicode
 False if the font encoding is not known; otherwise codepoints are unicode.
 

Detailed Description

GlyphList is the result of ReadFont()_* functions. It contains information about the font in a format that the terminal emulator can use.

Constructor & Destructor Documentation

◆ GlyphList()

GlyphList::GlyphList ( )

Constructor. Made separate because of gcov glitches.

Member Data Documentation

◆ glyphs

std::unordered_map<char32_t, std::size_t> GlyphList::glyphs

For each supported unicode codepoint, indicates the starting offset to bitmap where this glyph is found.


The documentation for this struct was generated from the following files: