rastrovy font 6x8 cyrilika
Jan Waclawek
konfera@efton.sk
Pondělí Červenec 6 17:09:20 CEST 2009
Upravil som si program, ktory som si pisal (bohuzial ho nemozem zverejnit) aby mi vedel skonvertovat bitmapu na "moj" format fontu.
Tie fonty su vykradnute z programu co som pisal, a su dost hnusne, takze to berte len ako ukazku. Ak mate nejaku bitmapu s pismenami za sebou ako idu, tak Vam ju skonvertujem do takejto podoby.
wek
// font:, originated from file:somefont
// generated by pix v0.7 on 6.7.2009 17:04:48
// -- pix by wek, (C) 2009 microHAM www.microham.com --
#include <stdint.h>
#define font_MIN_somefont 65
#define font_MAX_somefont 90
#define font_WIDTH_somefont 6
#define font_HEIGHT_somefont 8
#define font_CHARW_somefont 6
#define font_COMPRESSION_somefont 0
uint8_t font_somefont[] PROGMEM = {
0x37, 0x2B, 0x2B, 0x23, 0x1D, 0x1D, 0x3F, 0x3F, // 65
0x03, 0x1B, 0x1F, 0x03, 0x1B, 0x03, 0x3F, 0x3F, // 66
0x1B, 0x1B, 0x1B, 0x1B, 0x03, 0x3B, 0x3F, 0x3F, // 67
0x23, 0x2B, 0x2B, 0x2B, 0x03, 0x1B, 0x3F, 0x3F, // 68
0x03, 0x1F, 0x07, 0x1F, 0x1F, 0x03, 0x3F, 0x3F, // 69
0x37, 0x23, 0x15, 0x15, 0x23, 0x37, 0x3F, 0x3F, // 70
0x03, 0x1B, 0x1F, 0x1F, 0x1F, 0x1F, 0x3F, 0x3F, // 71
0x1D, 0x2B, 0x37, 0x2B, 0x1D, 0x1D, 0x3F, 0x3F, // 72
0x1D, 0x19, 0x15, 0x15, 0x0D, 0x1D, 0x3F, 0x3F, // 73
0x37, 0x1D, 0x19, 0x15, 0x0D, 0x1D, 0x3F, 0x3F, // 74
0x1B, 0x17, 0x0F, 0x0F, 0x17, 0x1B, 0x3F, 0x3F, // 75
0x33, 0x2B, 0x2B, 0x2B, 0x1B, 0x1B, 0x3F, 0x3F, // 76
0x1D, 0x09, 0x09, 0x15, 0x15, 0x1D, 0x3F, 0x3F, // 77
0x1B, 0x1B, 0x1B, 0x03, 0x1B, 0x1B, 0x3F, 0x3F, // 78
0x27, 0x1B, 0x1B, 0x1B, 0x1B, 0x27, 0x3F, 0x3F, // 79
0x01, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x3F, 0x3F, // 80
0x27, 0x1B, 0x1B, 0x1B, 0x27, 0x33, 0x3F, 0x3F, // 81
0x07, 0x1B, 0x1B, 0x07, 0x1F, 0x1F, 0x3F, 0x3F, // 82
0x23, 0x1D, 0x1F, 0x1F, 0x1D, 0x23, 0x3F, 0x3F, // 83
0x01, 0x37, 0x37, 0x37, 0x37, 0x37, 0x3F, 0x3F, // 84
0x1D, 0x1D, 0x2B, 0x37, 0x37, 0x37, 0x3F, 0x3F, // 85
0x07, 0x1B, 0x07, 0x1B, 0x1B, 0x07, 0x3F, 0x3F, // 86
0x1D, 0x15, 0x15, 0x13, 0x2B, 0x2B, 0x3F, 0x3F, // 87
0x1D, 0x2B, 0x37, 0x37, 0x2B, 0x1D, 0x3F, 0x3F, // 88
0x1D, 0x2B, 0x2B, 0x37, 0x37, 0x37, 0x3F, 0x3F, // 89
0x03, 0x3D, 0x3D, 0x31, 0x3D, 0x03, 0x3F, 0x3F, // 90
};
----- Original Message ---------------
>Dakujem,
>
>Nie je to sice idealne riesenie ale aspon su tam tie znaky vykreslene,
>nejako to uz zakodujem sam ak nebude nic lepsie.
>
>Milan
Další informace o konferenci Hw-list