freetypecap.h 557 B

123456789101112131415161718
  1. #ifndef _GRASS_FREETYPECAP_H
  2. #define _GRASS_FREETYPECAP_H
  3. struct GFONT_CAP
  4. {
  5. char *name; /**< Short name for this font face */
  6. char *longname; /**< Descriptive name for the font face */
  7. char *path; /**< Full path to the file containing this font face */
  8. int index; /**< Index within the file of this font face */
  9. int type; /**< Type of this font face (currently stroke or freetype) */
  10. char *encoding; /**< Encoding to be used with this font face. */
  11. };
  12. #define GFONT_STROKE 0
  13. #define GFONT_FREETYPE 1
  14. #endif