diff options
author | Florent Villard <warly@mandriva.com> | 2003-08-12 08:22:43 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2003-08-12 08:22:43 +0000 |
commit | 5606f67a26f876bc83e3928a41e7919d9aea2ca8 (patch) | |
tree | bcbffafd8ab4884e363da50c0f8b32751b886ae0 /fbtruetype/ttf.h | |
parent | 0bfd2d68ceaa132a57abc8dec8b67edc8e7e37ed (diff) | |
download | bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.tar bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.tar.gz bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.tar.bz2 bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.tar.xz bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.zip |
add fbmngplay and fbtruetype
Diffstat (limited to 'fbtruetype/ttf.h')
-rw-r--r-- | fbtruetype/ttf.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fbtruetype/ttf.h b/fbtruetype/ttf.h new file mode 100644 index 0000000..5df66fa --- /dev/null +++ b/fbtruetype/ttf.h @@ -0,0 +1,20 @@ +#define CACHED_METRICS 0x10 +#define CACHED_BITMAP 0x01 +#define CACHED_PIXMAP 0x02 + +#define TTF_STYLE_NORMAL 0x00 +#define TTF_STYLE_BOLD 0x01 +#define TTF_STYLE_ITALIC 0x02 +#define TTF_STYLE_UNDERLINE 0x04 + +/* Handy routines for converting from fixed point */ +#define FT_FLOOR(X) ((X & -64) / 64) +#define FT_CEIL(X) (((X + 63) & -64) / 64) + +typedef struct _TTF_Font TTF_Font; + +#define LUXISRI_SIZE 66372 + +extern char luxisri_ttf[LUXISRI_SIZE]; + + |