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 char *longname; /**< Descriptive name for the font face */ 8 char *path; /**< Full path to the file containing this font face */ 9 int index; /**< Index within the file of this font face */ 10 int type; /**< Type of this font face (currently stroke or freetype) */ 11 char *encoding; /**< Encoding to be used with this font face. */ 12 }; 13 14 #define GFONT_STROKE 0 15 #define GFONT_FREETYPE 1 16 #define GFONT_DRIVER 2 17 18 #endif 19