1
0
Fork 0
forked from len0rd/rockbox

Tab police

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14691 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-09-14 16:04:01 +00:00
parent 9730ca8b12
commit d718c27798

View file

@ -92,16 +92,16 @@ enum {
/* builtin C-based proportional/fixed font structure */ /* builtin C-based proportional/fixed font structure */
/* based on The Microwindows Project http://microwindows.org */ /* based on The Microwindows Project http://microwindows.org */
struct font { struct font {
int maxwidth; /* max width in pixels*/ int maxwidth; /* max width in pixels*/
unsigned int height; /* height in pixels*/ unsigned int height; /* height in pixels*/
int ascent; /* ascent (baseline) height*/ int ascent; /* ascent (baseline) height*/
int firstchar; /* first character in bitmap*/ int firstchar; /* first character in bitmap*/
int size; /* font size in glyphs*/ int size; /* font size in glyphs*/
const unsigned char *bits; /* 8-bit column bitmap data*/ const unsigned char *bits; /* 8-bit column bitmap data*/
const unsigned short *offset; /* offsets into bitmap data*/ const unsigned short *offset; /* offsets into bitmap data*/
const unsigned char *width; /* character widths or NULL if fixed*/ const unsigned char *width; /* character widths or NULL if fixed*/
int defaultchar; /* default char (not glyph index)*/ int defaultchar; /* default char (not glyph index)*/
int32_t bits_size; /* # bytes of glyph bits*/ int32_t bits_size; /* # bytes of glyph bits*/
}; };
/* font routines*/ /* font routines*/
@ -122,6 +122,3 @@ void glyph_cache_save(void);
#endif #endif
#endif #endif
/* -----------------------------------------------------------------
* vim: et sw=4 ts=8 sts=4 tw=78
*/