X-Git-Url: https://git.karo-electronics.de/?p=oswald.git;a=blobdiff_plain;f=ui%2Foswald_fonts.h;h=d749dc6f3113efd62e49b77c438b1ae8c8004e36;hp=0f590c4f6ba56daa1433b9f9e089d4d53ab912b6;hb=16600ff42846105227c8a3cbb4f2b818ca41811d;hpb=1553c23cf33de5d8a193ffc8c7014cf826fc9fd3 diff --git a/ui/oswald_fonts.h b/ui/oswald_fonts.h index 0f590c4..d749dc6 100644 --- a/ui/oswald_fonts.h +++ b/ui/oswald_fonts.h @@ -4,30 +4,30 @@ #include "oswald.h" typedef enum { - FONT_4x6 = 0, - FONT_5x8, - FONT_5x12, - FONT_6x8, - FONT_6x10, +// FONT_4x6 = 0, +// FONT_5x8 = 0, +// FONT_5x12, + FONT_6x8 = 0, +// FONT_6x10, +// FONT_7x12, FONT_7x12b, - FONT_7x12, - FONT_8x8, - FONT_8x12, - FONT_8x14, - FONT_10x16, - FONT_12x16, - FONT_12x20, +// FONT_8x8, +// FONT_8x12, +// FONT_8x14, +// FONT_10x16, +// FONT_12x16, +// FONT_12x20, FONT_16x26, - FONT_22x36, - FONT_24x40, - FONT_32x53, +// FONT_22x36, +// FONT_24x40, +// FONT_32x53, LAST_FONT } oswald_font_face; typedef struct { - u8t width; - u8t height; - char **data; + uint8_t width; + uint8_t height; + uint8_t *data; } oswald_font; extern const oswald_font oswald_fonts[];