5 Struct N_GUI_MD_FONTS
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_GUI_MD_FONTS

The faces a render uses. More...

#include "n_gui_md.h"

Public Attributes

Name
ALLEGRO_FONT * regular
body text, and the fallback for every other face.
ALLEGRO_FONT * mono
code and fenced code blocks
ALLEGRO_FONT * italic
italic
ALLEGRO_FONT * h3
"### " and deeper
ALLEGRO_FONT * h2
"## " headings
ALLEGRO_FONT * h1
"# " headings, ideally the bold face at a larger size
ALLEGRO_FONT * bolditalic
both at once
ALLEGRO_FONT * bold
bold

Detailed Description

struct N_GUI_MD_FONTS;

The faces a render uses.

Any of them may be NULL and falls back towards regular, so a caller that has only one font still gets its text, only without the emphasis; regular itself must be set.

Public Attributes Documentation

variable regular

ALLEGRO_FONT * regular;

body text, and the fallback for every other face.

Must not be NULL.

variable mono

ALLEGRO_FONT * mono;

code and fenced code blocks

variable italic

ALLEGRO_FONT * italic;

italic

variable h3

ALLEGRO_FONT * h3;

"### " and deeper

variable h2

ALLEGRO_FONT * h2;

"## " headings

variable h1

ALLEGRO_FONT * h1;

"# " headings, ideally the bold face at a larger size

variable bolditalic

ALLEGRO_FONT * bolditalic;

both at once

variable bold

ALLEGRO_FONT * bold;

bold