added c font names
This commit is contained in:
parent
3f0f019fad
commit
b928181074
|
@ -37,21 +37,22 @@ artos:
|
|||
# http://stackoverflow.com/questions/713397/what-is-a-minimal-set-of-unicode-characters-for-reasonable-japanese-support
|
||||
|
||||
chinese: bdfconv
|
||||
./bdfconv ../bdf/unifont.bdf -b 0 -f 1 -M ../build/chinese1.map -d ../bdf/7x13.bdf
|
||||
./bdfconv ../bdf/unifont.bdf -b 0 -f 1 -M ../build/chinese1.map -d ../bdf/7x13.bdf -n u8g2_font_unifont_t_chinese1
|
||||
convert bdf.tga -trim u8g2_font_unifont_t_chinese1.png
|
||||
./bdfconv ../bdf/unifont.bdf -b 0 -f 1 -M ../build/chinese2.map -d ../bdf/7x13.bdf
|
||||
./bdfconv ../bdf/unifont.bdf -b 0 -f 1 -M ../build/chinese2.map -d ../bdf/7x13.bdf -n u8g2_font_unifont_t_chinese2
|
||||
convert bdf.tga -trim u8g2_font_unifont_t_chinese2.png
|
||||
./bdfconv ../bdf/unifont.bdf -b 0 -f 1 -M ../build/chinese3.map -d ../bdf/7x13.bdf
|
||||
./bdfconv ../bdf/unifont.bdf -b 0 -f 1 -M ../build/chinese3.map -d ../bdf/7x13.bdf -n u8g2_font_unifont_t_chinese3
|
||||
convert bdf.tga -trim u8g2_font_unifont_t_chinese3.png
|
||||
./bdfconv ../bdf/gb16st.bdf -b 0 -f 1 -M ../build/chinese1.map -d ../bdf/7x13.bdf
|
||||
|
||||
./bdfconv ../bdf/gb16st.bdf -b 0 -f 1 -M ../build/chinese1.map -d ../bdf/7x13.bdf -n u8g2_font_gb16st_t_1
|
||||
convert bdf.tga -trim u8g2_font_gb16st_t_1.png
|
||||
./bdfconv ../bdf/gb16st.bdf -b 0 -f 1 -M ../build/chinese2.map -d ../bdf/7x13.bdf
|
||||
./bdfconv ../bdf/gb16st.bdf -b 0 -f 1 -M ../build/chinese2.map -d ../bdf/7x13.bdf -n u8g2_font_gb16st_t_2
|
||||
convert bdf.tga -trim u8g2_font_gb16st_t_2.png
|
||||
./bdfconv ../bdf/gb16st.bdf -b 0 -f 1 -M ../build/chinese3.map -d ../bdf/7x13.bdf
|
||||
./bdfconv ../bdf/gb16st.bdf -b 0 -f 1 -M ../build/chinese3.map -d ../bdf/7x13.bdf -n u8g2_font_gb16st_t_3
|
||||
convert bdf.tga -trim u8g2_font_gb16st_t_3.png
|
||||
./bdfconv ../bdf/gb24st.bdf -b 0 -f 1 -M ../build/chinese1.map -d ../bdf/7x13.bdf
|
||||
./bdfconv ../bdf/gb24st.bdf -b 0 -f 1 -M ../build/chinese1.map -d ../bdf/7x13.bdf -n u8g2_font_gb24st_t_1
|
||||
convert bdf.tga -trim u8g2_font_gb24st_t_1.png
|
||||
./bdfconv ../bdf/gb24st.bdf -b 0 -f 1 -M ../build/chinese2.map -d ../bdf/7x13.bdf
|
||||
./bdfconv ../bdf/gb24st.bdf -b 0 -f 1 -M ../build/chinese2.map -d ../bdf/7x13.bdf -n u8g2_font_gb24st_t_2
|
||||
convert bdf.tga -trim u8g2_font_gb24st_t_2.png
|
||||
./bdfconv ../bdf/gb24st.bdf -b 0 -f 1 -M ../build/chinese3.map -d ../bdf/7x13.bdf
|
||||
./bdfconv ../bdf/gb24st.bdf -b 0 -f 1 -M ../build/chinese3.map -d ../bdf/7x13.bdf -n u8g2_font_gb24st_t_3
|
||||
convert bdf.tga -trim u8g2_font_gb24st_t_3.png
|
||||
|
|
|
@ -372,7 +372,10 @@ int main(int argc, char **argv)
|
|||
if ( bf_desc_font != NULL )
|
||||
{
|
||||
tga_init(1024, 1024*9);
|
||||
y = tga_draw_font(0, bdf_filename, bf_desc_font, bf);
|
||||
if ( target_fontname[0] != '\0' )
|
||||
y = tga_draw_font(0, target_fontname, bf_desc_font, bf);
|
||||
else
|
||||
y = tga_draw_font(0, bdf_filename, bf_desc_font, bf);
|
||||
|
||||
if ( runtime_test != 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue