gpforge
An advanced bitmap font editor
Loading...
Searching...
No Matches
face.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2026 Cyril Hrubis <metan@ucw.cz>
4 */
12#ifndef GPFORGE_FACE_H
13#define GPFORGE_FACE_H
14
15#include <text/gp_font.h>
16
17#include "font.h"
18
26gp_font_face *gpf_face_build(struct gpf_font *font, enum gpf_variant_id id);
27
33void gpf_face_free(gp_font_face *self);
34
35#endif /* GPFORGE_FACE_H */
void gpf_face_free(gp_font_face *self)
Frees a font face.
Definition face.c:215
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.
Definition face.c:114
The in-memory font model.
gpf_variant_id
Font face variant.
Definition font.h:34
A font family.
Definition font.h:274