gpforge
An advanced bitmap font editor
Loading...
Searching...
No Matches
face.h File Reference

Compiles a gfxprim font face from an in-memory gpf font. More...

#include <text/gp_font.h>
#include "font.h"

Go to the source code of this file.

Functions

gp_font_face * gpf_face_build (struct gpf_font *font, enum gpf_variant_id id)
 Builds a gfxprim font face from one variant of a gpf_font.
void gpf_face_free (gp_font_face *self)
 Frees a font face.

Detailed Description

Compiles a gfxprim font face from an in-memory gpf font.

Compiles a resolved variant into a gfxprim font face, so that the preview is drawn by gfxprim itself and is exactly what a consumer would render.

Definition in file face.h.

Function Documentation

◆ gpf_face_build()

◆ gpf_face_free()

void gpf_face_free ( gp_font_face * self)

Frees a font face.

Parameters
selfA font face to free.

Definition at line 215 of file face.c.