forked from larryli/u8g2_wqy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·34 lines (33 loc) · 3.72 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
./bdfconv bdf/wenquanyi_9pt.bdf -b 0 -f 1 -M maps/chinese1.map -n u8g2_font_wqy12_t_chinese1 -o _u8g2_font_wqy12_t_chinese1.c
./bdfconv bdf/wenquanyi_9pt.bdf -b 0 -f 1 -M maps/chinese2.map -n u8g2_font_wqy12_t_chinese2 -o _u8g2_font_wqy12_t_chinese2.c
./bdfconv bdf/wenquanyi_9pt.bdf -b 0 -f 1 -M maps/chinese3.map -n u8g2_font_wqy12_t_chinese3 -o _u8g2_font_wqy12_t_chinese3.c
./bdfconv bdf/wenquanyi_9pt.bdf -b 0 -f 1 -M maps/gb2312.map -n u8g2_font_wqy12_t_gb2312 -o _u8g2_font_wqy12_t_gb2312.c
./bdfconv bdf/wenquanyi_9pt.bdf -b 0 -f 1 -M maps/gb2312a.map -n u8g2_font_wqy12_t_gb2312a -o _u8g2_font_wqy12_t_gb2312a.c
./bdfconv bdf/wenquanyi_9pt.bdf -b 0 -f 1 -M maps/gb2312b.map -n u8g2_font_wqy12_t_gb2312b -o _u8g2_font_wqy12_t_gb2312b.c
./bdfconv bdf/wenquanyi_10pt.bdf -b 0 -f 1 -M maps/chinese1.map -n u8g2_font_wqy13_t_chinese1 -o _u8g2_font_wqy13_t_chinese1.c
./bdfconv bdf/wenquanyi_10pt.bdf -b 0 -f 1 -M maps/chinese2.map -n u8g2_font_wqy13_t_chinese2 -o _u8g2_font_wqy13_t_chinese2.c
./bdfconv bdf/wenquanyi_10pt.bdf -b 0 -f 1 -M maps/chinese3.map -n u8g2_font_wqy13_t_chinese3 -o _u8g2_font_wqy13_t_chinese3.c
./bdfconv bdf/wenquanyi_10pt.bdf -b 0 -f 1 -M maps/gb2312.map -n u8g2_font_wqy13_t_gb2312 -o _u8g2_font_wqy13_t_gb2312.c
./bdfconv bdf/wenquanyi_10pt.bdf -b 0 -f 1 -M maps/gb2312a.map -n u8g2_font_wqy13_t_gb2312a -o _u8g2_font_wqy13_t_gb2312a.c
./bdfconv bdf/wenquanyi_10pt.bdf -b 0 -f 1 -M maps/gb2312b.map -n u8g2_font_wqy13_t_gb2312b -o _u8g2_font_wqy13_t_gb2312b.c
./bdfconv bdf/wenquanyi_13px.bdf -b 0 -f 1 -M maps/chinese1.map -n u8g2_font_wqy14_t_chinese1 -o _u8g2_font_wqy14_t_chinese1.c
./bdfconv bdf/wenquanyi_13px.bdf -b 0 -f 1 -M maps/chinese2.map -n u8g2_font_wqy14_t_chinese2 -o _u8g2_font_wqy14_t_chinese2.c
./bdfconv bdf/wenquanyi_13px.bdf -b 0 -f 1 -M maps/chinese3.map -n u8g2_font_wqy14_t_chinese3 -o _u8g2_font_wqy14_t_chinese3.c
./bdfconv bdf/wenquanyi_13px.bdf -b 0 -f 1 -M maps/gb2312.map -n u8g2_font_wqy14_t_gb2312 -o _u8g2_font_wqy14_t_gb2312.c
./bdfconv bdf/wenquanyi_13px.bdf -b 0 -f 1 -M maps/gb2312a.map -n u8g2_font_wqy14_t_gb2312a -o _u8g2_font_wqy14_t_gb2312a.c
./bdfconv bdf/wenquanyi_13px.bdf -b 0 -f 1 -M maps/gb2312b.map -n u8g2_font_wqy14_t_gb2312b -o _u8g2_font_wqy14_t_gb2312b.c
./bdfconv bdf/wenquanyi_11pt.bdf -b 0 -f 1 -M maps/chinese1.map -n u8g2_font_wqy15_t_chinese1 -o _u8g2_font_wqy15_t_chinese1.c
./bdfconv bdf/wenquanyi_11pt.bdf -b 0 -f 1 -M maps/chinese2.map -n u8g2_font_wqy15_t_chinese2 -o _u8g2_font_wqy15_t_chinese2.c
./bdfconv bdf/wenquanyi_11pt.bdf -b 0 -f 1 -M maps/chinese3.map -n u8g2_font_wqy15_t_chinese3 -o _u8g2_font_wqy15_t_chinese3.c
./bdfconv bdf/wenquanyi_11pt.bdf -b 0 -f 1 -M maps/gb2312.map -n u8g2_font_wqy15_t_gb2312 -o _u8g2_font_wqy15_t_gb2312.c
./bdfconv bdf/wenquanyi_11pt.bdf -b 0 -f 1 -M maps/gb2312a.map -n u8g2_font_wqy15_t_gb2312a -o _u8g2_font_wqy15_t_gb2312a.c
./bdfconv bdf/wenquanyi_11pt.bdf -b 0 -f 1 -M maps/gb2312b.map -n u8g2_font_wqy15_t_gb2312b -o _u8g2_font_wqy15_t_gb2312b.c
./bdfconv bdf/wenquanyi_12pt.bdf -b 0 -f 1 -M maps/chinese1.map -n u8g2_font_wqy16_t_chinese1 -o _u8g2_font_wqy16_t_chinese1.c
./bdfconv bdf/wenquanyi_12pt.bdf -b 0 -f 1 -M maps/chinese2.map -n u8g2_font_wqy16_t_chinese2 -o _u8g2_font_wqy16_t_chinese2.c
./bdfconv bdf/wenquanyi_12pt.bdf -b 0 -f 1 -M maps/chinese3.map -n u8g2_font_wqy16_t_chinese3 -o _u8g2_font_wqy16_t_chinese3.c
./bdfconv bdf/wenquanyi_12pt.bdf -b 0 -f 1 -M maps/gb2312.map -n u8g2_font_wqy16_t_gb2312 -o _u8g2_font_wqy16_t_gb2312.c
./bdfconv bdf/wenquanyi_12pt.bdf -b 0 -f 1 -M maps/gb2312a.map -n u8g2_font_wqy16_t_gb2312a -o _u8g2_font_wqy16_t_gb2312a.c
./bdfconv bdf/wenquanyi_12pt.bdf -b 0 -f 1 -M maps/gb2312b.map -n u8g2_font_wqy16_t_gb2312b -o _u8g2_font_wqy16_t_gb2312b.c
cat header.txt _*.c > src/u8g2_font_wqy.c
rm -f _*.c