gpforge
An advanced bitmap font editor
Loading...
Searching...
No Matches
gpf_variant Struct Reference

A font variant. More...

#include <font.h>

Collaboration diagram for gpf_variant:

Data Fields

enum gpf_variant_id id
 Font variant e.g. GPF_REGULAR, GPF_MONO, etc.
int spacing_mono
 Every glyph has the same advance.
int derive_embolden
 Glyphs not drawn here are emboldened from the parent.
int advance
 Advance for all glyphs.
char * comments
 Comments above the first glyph block.
struct gpf_glyph * glyphs
 Glyphs.

Detailed Description

A font variant.

Definition at line 170 of file font.h.

Field Documentation

◆ advance

int gpf_variant::advance

Advance for all glyphs.

Monospace variants only, 0 when unset.

Definition at line 182 of file font.h.

Referenced by gpf_dialog_family(), and gpf_font_create().

◆ comments

char* gpf_variant::comments

Comments above the first glyph block.

A gp_vec string, may be NULL.

Definition at line 188 of file font.h.

◆ glyphs


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