Commit bd75e743 authored by Robey Pointer's avatar Robey Pointer
Browse files

move fonts into folder and provide the bitmap versions

parent 06b948e5
......@@ -35,7 +35,7 @@
#pragma once
#define KBD_FW_REV "R1 20210815"
#define KBD_FW_REV "R1 20210818"
#include <avr/io.h>
#include <avr/wdt.h>
......
......@@ -10,8 +10,8 @@
#include "ssd1306.h"
#include "display.h"
#include "oranj_reform.h"
#include "bizcat_reform.h"
#include "fonts/oranj_reform.h"
#include "fonts/bizcat_reform.h"
const monospace_font_t font_oranj = { oranj_reform_font_data, 8, 6 };
const monospace_font_t font_bizcat = { bizcat_reform_font_data, 16, 8 };
......
......@@ -3,6 +3,7 @@
#include <stdint.h>
#include <avr/pgmspace.h>
// generated with: font-problems -v -m --vertical ./bizcat_reform.bmp ./bizcat_reform.h
const uint16_t bizcat_reform_font_data[1024] PROGMEM = {
0x03e0, 0x03e0, 0x1e3c, 0x1e3c, 0x180c, 0x180c, 0x180c, 0x180c,
0x03e0, 0x03e0, 0x1ffc, 0x1ffc, 0x180c, 0x180c, 0x180c, 0x180c,
......
......@@ -3,6 +3,7 @@
#include <stdint.h>
#include <avr/pgmspace.h>
// generated with: font-problems -v -m --vertical ./oranj_reform.bmp ./oranj_reform.h
const uint8_t oranj_reform_font_data[768] PROGMEM = {
0x3c, 0x66, 0x42, 0x42, 0x42, 0x42,
0x3c, 0x7e, 0x42, 0x42, 0x42, 0x42,
......@@ -16,7 +17,7 @@ const uint8_t oranj_reform_font_data[768] PROGMEM = {
0x7e, 0x7e, 0x7e, 0x42, 0x42, 0x7e,
0x7e, 0x7e, 0x7e, 0x7e, 0x42, 0x7e, /* 10 */
0x7e, 0x7e, 0x7e, 0x7e, 0x7e, 0x7e,
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00,
0x08, 0x6c, 0x3e, 0x1b, 0x08, 0x00,
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00,
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00,
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00, /* 15 */
......@@ -34,8 +35,8 @@ const uint8_t oranj_reform_font_data[768] PROGMEM = {
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00,
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00,
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00,
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00, /* 30 */
0x7f, 0x55, 0x6b, 0x55, 0x7f, 0x00,
0x04, 0x06, 0x7f, 0x06, 0x04, 0x00, /* 30 */
0x10, 0x30, 0x7f, 0x30, 0x10, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x5f, 0x00, 0x00, 0x00,
0x00, 0x07, 0x00, 0x07, 0x00, 0x00,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment