VT100 Terminal App
Circle VT100 module documentation
Loading...
Searching...
No Matches
CTFontConverter Class Reference

Background task that materializes VT100 fonts on demand. More...

#include <TFontConverter.h>

Inheritance diagram for CTFontConverter:

Public Member Functions

 CTFontConverter ()
 Construct the font converter task.
 
 ~CTFontConverter ()
 Release any converter resources.
 
bool Initialize ()
 Initialize font assets and resume the task.
 
void Run () override
 Idle loop keeping the converter task alive when needed.
 

Static Public Member Functions

static CTFontConverterGet (void)
 Access the singleton font converter task.
 
static const TFont & GetFont (EFontSelection font)
 Retrieve the Circle font matching the given selection.
 

Detailed Description

Background task that materializes VT100 fonts on demand.

The task encapsulates all initialization and lifetime management for the converted font catalog. It keeps track of whether conversions have run and provides a static GetFont helper so the renderer can fetch glyph tables without duplicating setup logic.

Member Function Documentation

◆ Get()

CTFontConverter * CTFontConverter::Get ( void  )
static

Access the singleton font converter task.

Returns
Pointer to the font converter task instance.

◆ GetFont()

const TFont & CTFontConverter::GetFont ( EFontSelection  font)
static

Retrieve the Circle font matching the given selection.

Parameters
fontFont selection enumeration value.
Returns
Reference to the converted font.

◆ Initialize()

bool CTFontConverter::Initialize ( )

Initialize font assets and resume the task.

Returns
TRUE when initialization succeeds, FALSE otherwise.

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