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
26
gp_font_face *
gpf_face_build
(
struct
gpf_font
*font,
enum
gpf_variant_id
id
);
27
33
void
gpf_face_free
(gp_font_face *self);
34
35
#endif
/* GPFORGE_FACE_H */
gpf_face_free
void gpf_face_free(gp_font_face *self)
Frees a font face.
Definition
face.c:215
gpf_face_build
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
font.h
The in-memory font model.
gpf_variant_id
gpf_variant_id
Font face variant.
Definition
font.h:34
gpf_font
A font family.
Definition
font.h:274
face.h
Generated by
1.15.0