Turnstone Operating System
|
font interface More...
Classes | |
struct | font_psf2_t |
psf v2 font header More... | |
struct | font_psf1_t |
psf v1 font header More... | |
struct | font_table_t |
font table More... | |
Macros | |
#define | ___FONT_H 0 |
#define | FONT_PSF2_MAGIC 0x864ab572 |
#define | FONT_PSF1_MAGIC 0x0436 |
#define | FONT_TAB_STOP 8 |
Typedefs | |
typedef struct font_psf2_t | font_psf2_t |
short hand for struct font_psf2_t | |
typedef struct font_psf1_t | video_psf1_font_t |
short hand for struct font_psf1_t | |
typedef struct font_table_t | font_table_t |
short hand for struct font_table_s | |
Functions | |
void | font_print_glyph_with_stride (wchar_t wc, color_t foreground, color_t background, pixel_t *destination_base_address, uint32_t x, uint32_t y, uint32_t stride) |
font_table_t * | font_get_font_table (void) |
wchar_t | font_get_wc (const char_t *string, int64_t *idx) |
int8_t | font_init (void) |
void | font_get_font_dimension (uint32_t *width, uint32_t *height) |
void | font_dump_colored_font (pixel_t *dst, color_t background, color_t foreground) |
font interface
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
#define ___FONT_H 0 |
prevent duplicate header error macro
#define FONT_PSF1_MAGIC 0x0436 |
magic for psf1 fonts
#define FONT_PSF2_MAGIC 0x864ab572 |
magic for psf2 fonts