fontcap.h 564 B

12345678910111213141516171819
  1. #ifndef GRASS_FONTCAP_H
  2. #define GRASS_FONTCAP_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. #define GFONT_DRIVER 2
  15. #endif