|
gpforge
An advanced bitmap font editor
|
A font variant. More...
#include <font.h>

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. | |
| 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().
| char* gpf_variant::comments |
| struct gpf_glyph* gpf_variant::glyphs |
Glyphs.
A gp_vec sorted by the codepoint.
Definition at line 195 of file font.h.
Referenced by gpf_font_clear_modified(), gpf_font_codes(), gpf_font_ink_extent(), gpf_font_range_glyphs(), gpf_font_simplify(), gpf_font_variant(), gpf_variant_glyph(), gpf_variant_glyph_add(), gpf_variant_glyph_del(), and gpf_variant_glyphs().