summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-09-14 16:04:01 +0000
committerNils Wallménius <nils@rockbox.org>2007-09-14 16:04:01 +0000
commitd718c2779864bcb28fef38536d4f62a8b986ba3f (patch)
tree8325ca766fbc727ef0bfc584f9761567a3849031
parent9730ca8b12e0f18f94a74b22da9441ccac632914 (diff)
downloadrockbox-d718c2779864bcb28fef38536d4f62a8b986ba3f.tar.gz
rockbox-d718c2779864bcb28fef38536d4f62a8b986ba3f.zip
Tab police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14691 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/font.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/firmware/export/font.h b/firmware/export/font.h
index 649a1d080d..15d54dad04 100644
--- a/firmware/export/font.h
+++ b/firmware/export/font.h
@@ -92,16 +92,16 @@ enum {
92/* builtin C-based proportional/fixed font structure */ 92/* builtin C-based proportional/fixed font structure */
93/* based on The Microwindows Project http://microwindows.org */ 93/* based on The Microwindows Project http://microwindows.org */
94struct font { 94struct font {
95 int maxwidth; /* max width in pixels*/ 95 int maxwidth; /* max width in pixels*/
96 unsigned int height; /* height in pixels*/ 96 unsigned int height; /* height in pixels*/
97 int ascent; /* ascent (baseline) height*/ 97 int ascent; /* ascent (baseline) height*/
98 int firstchar; /* first character in bitmap*/ 98 int firstchar; /* first character in bitmap*/
99 int size; /* font size in glyphs*/ 99 int size; /* font size in glyphs*/
100 const unsigned char *bits; /* 8-bit column bitmap data*/ 100 const unsigned char *bits; /* 8-bit column bitmap data*/
101 const unsigned short *offset; /* offsets into bitmap data*/ 101 const unsigned short *offset; /* offsets into bitmap data*/
102 const unsigned char *width; /* character widths or NULL if fixed*/ 102 const unsigned char *width; /* character widths or NULL if fixed*/
103 int defaultchar; /* default char (not glyph index)*/ 103 int defaultchar; /* default char (not glyph index)*/
104 int32_t bits_size; /* # bytes of glyph bits*/ 104 int32_t bits_size; /* # bytes of glyph bits*/
105}; 105};
106 106
107/* font routines*/ 107/* font routines*/
@@ -122,6 +122,3 @@ void glyph_cache_save(void);
122#endif 122#endif
123 123
124#endif 124#endif
125/* -----------------------------------------------------------------
126 * vim: et sw=4 ts=8 sts=4 tw=78
127 */