mirror of
https://github.com/caperren/school_archives.git
synced 2025-11-09 13:41:13 +00:00
Added EPD business card project to archives.
This commit is contained in:
@@ -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 },
|
||||
};
|
||||
|
||||
} }
|
||||
@@ -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) {
|
||||
}
|
||||
};
|
||||
} }
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user