GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-f8115df121
fontcap.h
Go to the documentation of this file.
1 #ifndef GRASS_FONTCAP_H
2 #define GRASS_FONTCAP_H
3 
4 struct GFONT_CAP {
5 
6  char *name; /**< Short name for this font face */
7 
8  char *longname; /**< Descriptive name for the font face */
9 
10  char *path; /**< Full path to the file containing this font face */
11 
12  int index; /**< Index within the file of this font face */
13 
14  int type; /**< Type of this font face (currently stroke or freetype) */
15 
16  char *encoding; /**< Encoding to be used with this font face. */
17 };
18 
19 #define GFONT_STROKE 0
20 #define GFONT_FREETYPE 1
21 #define GFONT_DRIVER 2
22 
23 #endif
char * name
Definition: fontcap.h:6
char * path
Definition: fontcap.h:10
char * encoding
Definition: fontcap.h:16
int index
Definition: fontcap.h:12
int type
Definition: fontcap.h:14
char * longname
Definition: fontcap.h:8