Blender V5.0
DNA_vfont_types.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
11
12#pragma once
13
14#include "DNA_ID.h"
15
16struct PackedFile;
17struct VFontData;
18
19typedef struct VFont {
20#ifdef __cplusplus
22 static constexpr ID_Type id_type = ID_VF;
23#endif
24
26
27 char filepath[/*FILE_MAX*/ 1024];
28
29 struct VFontData *data;
31
32 /* runtime only, holds memory for freetype to read from
33 * TODO: replace this with #blf_font_new() style loading. */
36
37#define FO_BUILTIN_NAME "<builtin>"
ID and Library types, which are fundamental for SDNA.
ID_Type
@ ID_VF
Definition DNA_ID.h:414
struct VFontData * data
char filepath[1024]
struct PackedFile * temp_pf
struct PackedFile * packedfile