Added EPD business card project to archives.

This commit is contained in:
2018-06-04 14:24:02 -07:00
parent e6715f3686
commit 43b3555da8
556 changed files with 214719 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#include <avr/pgmspace.h>
#include "Font.h"
namespace lcd {
// byte definitions for FDEF_ROBOTO_THIN
const uint8_t __attribute__((progmem)) FDEF_ROBOTO_THIN68_BYTES[] PROGMEM={ 0,224,137,162,40,138,30,0,};
// character definitions for FDEF_ROBOTO_THIN
extern const struct FontChar __attribute__((progmem)) FDEF_ROBOTO_THIN_CHAR[] PROGMEM={
{ 68,6,FDEF_ROBOTO_THIN68_BYTES },
};
}

View File

@@ -0,0 +1,17 @@
#pragma once
#include "Font.h"
namespace lcd {
// helper so the user can just do 'new fontname' without having to know the parameters
extern const struct FontChar FDEF_ROBOTO_THIN_CHAR[];
class Font_ROBOTO_THIN10 : public Font {
public:
Font_ROBOTO_THIN10()
: Font(68,1,10,0,FDEF_ROBOTO_THIN_CHAR) {
}
};
}

View File

@@ -0,0 +1,11 @@
<FontConv>
<Filename>C:\Users\corwinperren\Documents\GitHub\EPD_Business_Card\Business Card Testing\roboto\Roboto-Thin.ttf</Filename>
<Size>10</Size>
<XOffset>0</XOffset>
<YOffset>-1</YOffset>
<ExtraLines>0</ExtraLines>
<CharSpace>0</CharSpace>
<Chars>
<Char>68</Char>
</Chars>
</FontConv>

View File

@@ -0,0 +1,16 @@
#include "config/stm32plus.h"
#include "config/display/font.h"
namespace stm32plus { namespace display {
// byte definitions for FDEF_ROBOTO_THIN
uint8_t FDEF_ROBOTO_THIN68_BYTES[]={ 0,224,137,162,40,138,30,0,};
// character definitions for FDEF_ROBOTO_THIN
extern const struct FontChar FDEF_ROBOTO_THIN_CHAR[]={
{ 68,6,FDEF_ROBOTO_THIN68_BYTES },
};
} }

View File

@@ -0,0 +1,17 @@
#pragma once
#include "display/graphic/Font.h"
namespace stm32plus { namespace display {
// helper so the user can just do 'new fontname' without having to know the parameters
extern const struct FontChar FDEF_ROBOTO_THIN_CHAR[];
class Font_ROBOTO_THIN10 : public Font {
public:
Font_ROBOTO_THIN10()
: Font(68,1,10,0,FDEF_ROBOTO_THIN_CHAR) {
}
};
} }

View File

@@ -0,0 +1,11 @@
<FontConv>
<Filename>C:\Users\corwinperren\Documents\GitHub\EPD_Business_Card\Business Card Testing\roboto\Roboto-Thin.ttf</Filename>
<Size>10</Size>
<XOffset>0</XOffset>
<YOffset>-1</YOffset>
<ExtraLines>0</ExtraLines>
<CharSpace>0</CharSpace>
<Chars>
<Char>68</Char>
</Chars>
</FontConv>