diff options
author | jaseg <jaseg@jaseg.net> | 2014-01-02 16:40:26 +0100 |
---|---|---|
committer | jaseg <jaseg@jaseg.net> | 2014-01-02 16:40:26 +0100 |
commit | 3e1895b71c26267b87a0ccfa1d5248f5a207c47f (patch) | |
tree | b4d5401474c4fab4c09a0e088930350559d11827 /host/matelight/font.h | |
parent | 2ce31fb1333ce6a8ffe62c49cb9f42aac5547ae2 (diff) | |
download | matelight-3e1895b71c26267b87a0ccfa1d5248f5a207c47f.tar.gz matelight-3e1895b71c26267b87a0ccfa1d5248f5a207c47f.tar.bz2 matelight-3e1895b71c26267b87a0ccfa1d5248f5a207c47f.zip |
Fixed multibyte handling.
Diffstat (limited to 'host/matelight/font.h')
-rw-r--r-- | host/matelight/font.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/matelight/font.h b/host/matelight/font.h index 658609a..e3e2e60 100644 --- a/host/matelight/font.h +++ b/host/matelight/font.h @@ -1,4 +1,7 @@ +#ifndef __FONT_H__ +#define __FONT_H__ + #include <stdint.h> #include <stdio.h> @@ -19,3 +22,4 @@ int read_bdf(FILE *f, glyph_t **glyph_table, unsigned int glyph_table_size); // Requires buf to point to a buffer at least of size glyph->width*glyph->height. void render_glyph(glyph_t *glyph, uint8_t *buf, unsigned int bufwidth, unsigned int offx, unsigned int offy); +#endif//__FONT_H__ |